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 (GCC) | 35.665µs | 30.867µs | 51.226µs |
2 | C (Clang) | 35.741µs | 30.437µs | 50.535µs |
3 | C++ (Clang++) | 36.461µs | 34.114µs | 45.876µs |
4 | Kotlin (Native) | 49.623µs | 44.614µs | 66.585µs |
5 | Java | 70.504µs | 62.677µs | 87.023µs |
6 | Go | 93.553µs | 89.248µs | 105.057µs |
7 | C++ (G++) | 108.288µs | 32.361µs | 1,795.679µs |
8 | JavaScript (Deno) | 242.084µs | 211.507µs | 397.987µs |
9 | Ruby | 613.123µs | 210.174µs | 9,836.951µs |
10 | JavaScript (Bun) | 1,545.801µs | 430.969µs | 18,490.125µs |
11 | Rust | 3,767.842µs | 41.608µs | 47,074.600µs |
12 | JavaScript (Node) | 5,826.064µs | 259.748µs | 60,419.661µs |
13 | PHP | 15,901.697µs | 619.122µs | 82,919.449µs |
14 | Python | 16,672.629µs | 378.701µs | 69,458.878µs |
15 | Kotlin (JVM) | 16,796.315µs | 545.655µs | 62,508.756µs |