Benchmarks

Linux 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 GraalVM 1.498µs 1.433µs 1.633µs
2 C (GCC) 34.349µs 31.029µs 38.493µs
3 C++ (Clang++) 35.977µs 32.170µs 40.199µs
4 Rust 44.512µs 42.430µs 48.782µs
5 Kotlin (Native) 50.629µs 44.945µs 70.414µs
6 Go 93.486µs 91.183µs 101.973µs
7 C (Clang) 1,077.291µs 31.821µs 26,104.428µs
8 Zig 1,185.593µs 169.161µs 14,256.651µs
9 C++ (G++) 1,688.679µs 31.649µs 41,368.203µs
10 Java 2,087.027µs 72.057µs 50,251.047µs
11 JavaScript (Bun) 2,268.949µs 440.477µs 29,257.682µs
12 JavaScript (Deno) 3,675.708µs 172.657µs 51,296.262µs
13 JavaScript (Node) 8,561.768µs 212.604µs 69,108.248µs
14 PHP 8,950.577µs 621.499µs 69,691.578µs
15 Python 14,090.001µs 358.358µs 73,651.038µs
16 Kotlin (JVM) 14,163.621µs 565.038µs 79,975.121µs
17 Ruby 14,256.116µs 203.256µs 99,900.801µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times