Benchmarks

Linux 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 GraalVM 14.037µs 13.916µs 14.377µs
2 Go 1,672.770µs 924.805µs 18,113.410µs
3 C (GCC) 1,995.603µs 222.583µs 44,331.485µs
4 Zig 3,407.440µs 498.999µs 57,544.457µs
5 Kotlin (Native) 4,042.333µs 355.505µs 62,888.493µs
6 C (Clang) 4,183.472µs 225.898µs 33,416.774µs
7 C++ (Clang++) 5,234.358µs 226.019µs 70,256.107µs
8 Rust 13,887.351µs 340.203µs 64,375.568µs
9 C++ (G++) 20,527.260µs 225.899µs 80,772.994µs
10 Java 22,800.512µs 653.813µs 95,140.128µs
11 JavaScript (Deno) 33,867.270µs 1,477.149µs 85,577.434µs
12 JavaScript (Bun) 41,424.396µs 3,060.622µs 114,785.631µs
13 Kotlin (JVM) 41,663.030µs 1,159.464µs 80,318.640µs
14 Ruby 45,101.484µs 1,851.355µs 103,464.004µs
15 JavaScript (Node) 59,497.603µs 2,162.434µs 123,605.890µs
16 Python 82,272.349µs 42,980.440µs 156,224.044µs
17 PHP 154,196.997µs 73,582.044µs 244,842.731µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times