Benchmarks

Benchmark: pow(x, y) (1K)

Benchmark the performance of the pow function, using decimal numbers.

number math 1K

All-Time Rankings

Rank Language Average Time Best Time Worst Time
1 C (Clang) 35.780µs 32.000µs 55.300µs
2 C (GCC) 36.172µs 33.900µs 54.000µs
3 C++ (G++) 37.976µs 34.400µs 69.900µs
4 C++ (Clang++) 45.032µs 40.000µs 103.000µs
5 Rust 52.276µs 49.500µs 71.400µs
6 Java 84.612µs 76.200µs 108.200µs
7 PHP 192.312µs 129.400µs 680.900µs
8 Kotlin (Native) 238.416µs 139.100µs 2,388.800µs
9 JavaScript (Node) 250.212µs 227.500µs 276.500µs
10 JavaScript (Deno) 259.568µs 213.400µs 827.000µs
11 Python 502.416µs 418.000µs 960.400µs
12 Kotlin (JVM) 731.872µs 616.700µs 1,445.300µs
13 Ruby 808.900µs 355.400µs 8,028.300µs
14 Go 2,429.788µs 0.000µs 56,111.900µs
15 JavaScript (Bun) 80,274.880µs 24,028.400µs 321,846.800µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times