Benchmarks

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 Kotlin (Native) 4.339µs 4.186µs 4.498µs
2 C (Clang) 4.876µs 4.764µs 5.186µs
3 C++ (G++) 23.680µs 22.000µs 26.000µs
4 C (GCC) 33.556µs 21.888µs 283.952µs
5 C++ (Clang++) 33.913µs 31.528µs 65.266µs
6 Rust 34.000µs 32.000µs 58.000µs
7 Go 83.480µs 69.000µs 247.000µs
8 PHP 161.341µs 151.386µs 242.558µs
9 Java 189.754µs 86.898µs 2,508.062µs
10 JavaScript (Deno) 214.207µs 197.339µs 307.432µs
11 JavaScript (Node) 263.048µs 234.438µs 430.038µs
12 Ruby 268.440µs 242.000µs 532.000µs
13 JavaScript (Bun) 2,602.654µs 221.441µs 55,371.936µs
14 Kotlin (JVM) 11,278.892µs 483.321µs 261,659.429µs
15 Python 28,298.880µs 308.000µs 697,982.000µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times