Benchmark: pow(x, y) (10K)
Benchmark the performance of the pow
function, using decimal numbers.
number
math
10K
All-Time Rankings
Rank | Language | Average Time | Best Time | Worst Time |
---|---|---|---|---|
1 | C++ (G++) | 306.656µs | 278.300µs | 438.100µs |
2 | C (Clang) | 335.292µs | 296.900µs | 599.900µs |
3 | C++ (Clang++) | 477.060µs | 329.700µs | 1,639.200µs |
4 | Rust | 506.200µs | 439.000µs | 908.800µs |
5 | C (GCC) | 510.232µs | 276.900µs | 2,822.500µs |
6 | Java | 694.816µs | 601.000µs | 809.900µs |
7 | Kotlin (JVM) | 1,425.420µs | 1,169.900µs | 3,614.700µs |
8 | PHP | 1,523.408µs | 1,123.100µs | 3,666.900µs |
9 | Kotlin (Native) | 1,593.164µs | 1,323.900µs | 2,998.700µs |
10 | Python | 4,524.964µs | 4,157.600µs | 5,173.800µs |
11 | Ruby | 5,859.548µs | 3,429.700µs | 43,875.800µs |
12 | Go | 9,195.668µs | 0.000µs | 121,397.200µs |
13 | JavaScript (Node) | 12,474.672µs | 2,268.900µs | 84,240.200µs |
14 | JavaScript (Deno) | 23,788.280µs | 1,529.600µs | 103,994.000µs |
15 | JavaScript (Bun) | 119,319.276µs | 40,593.600µs | 482,001.400µs |