Benchmarks

Windows 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.048µs 13.900µs 14.200µs
2 C (GCC) 283.780µs 263.100µs 452.300µs
3 C++ (Clang++) 348.836µs 305.400µs 632.100µs
4 C (Clang) 368.592µs 275.200µs 2,185.100µs
5 C++ (G++) 448.040µs 261.600µs 3,281.200µs
6 Rust 492.440µs 428.600µs 1,490.700µs
7 Zig 856.628µs 557.700µs 4,321.700µs
8 PHP 1,338.180µs 1,132.200µs 2,558.100µs
9 Java 1,364.480µs 635.900µs 11,886.500µs
10 Kotlin (JVM) 1,907.724µs 1,221.400µs 7,945.100µs
11 JavaScript (Node) 2,470.148µs 2,157.800µs 4,165.100µs
12 JavaScript (Deno) 2,620.592µs 1,045.200µs 9,375.300µs
13 Kotlin (Native) 2,691.984µs 1,300.400µs 10,425.700µs
14 D 3,598.268µs 1,666.300µs 46,076.300µs
15 Go 4,197.776µs 0.000µs 65,318.600µs
16 Ruby 4,432.496µs 3,399.300µs 10,632.500µs
17 Python 5,429.280µs 4,430.900µs 8,943.100µs
18 JavaScript (Bun) 82,481.044µs 35,865.800µs 193,699.500µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times