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 | Kotlin (Native) | 44.362µs | 39.574µs | 127.196µs |
2 | C (Clang) | 50.433µs | 47.506µs | 97.799µs |
3 | C (GCC) | 165.717µs | 156.888µs | 202.865µs |
4 | C++ (G++) | 166.720µs | 151.000µs | 230.000µs |
5 | Rust | 246.760µs | 235.000µs | 272.000µs |
6 | C++ (Clang++) | 268.823µs | 250.276µs | 524.995µs |
7 | Go | 866.320µs | 671.000µs | 4,049.000µs |
8 | Java | 1,351.223µs | 738.971µs | 6,458.383µs |
9 | Kotlin (JVM) | 1,602.361µs | 1,137.534µs | 5,152.173µs |
10 | JavaScript (Node) | 2,465.967µs | 1,874.875µs | 8,121.645µs |
11 | Ruby | 2,598.600µs | 2,217.000µs | 5,088.000µs |
12 | Python | 3,837.720µs | 3,064.000µs | 7,196.000µs |
13 | JavaScript (Bun) | 17,914.470µs | 1,675.374µs | 386,565.946µs |
14 | PHP | 31,069.069µs | 1,272.772µs | 742,085.523µs |
15 | JavaScript (Deno) | 33,283.274µs | 1,481.624µs | 788,466.036µs |