Benchmarks

Windows Benchmark: cbrt(x) (100K)

Benchmark the performance of the cbrt function, between 1 and 100,000.

number math 100K

All-Time Rankings

Rank Language Average Time Best Time Worst Time
1 Kotlin (Native) 740.252µs 308.600µs 5,873.300µs
2 JavaScript (Deno) 3,522.412µs 2,702.600µs 7,986.700µs
3 C++ (G++) 5,678.652µs 3,879.000µs 27,765.200µs
4 C (GCC) 5,695.204µs 3,559.800µs 12,739.800µs
5 Rust 5,870.332µs 4,509.300µs 15,837.600µs
6 JavaScript (Node) 6,512.504µs 2,692.300µs 37,080.500µs
7 C (Clang) 7,318.540µs 4,563.800µs 17,595.400µs
8 C++ (Clang++) 7,339.224µs 4,624.100µs 13,712.800µs
9 Zig 7,953.620µs 5,658.300µs 19,714.100µs
10 GraalVM 8,497.484µs 4,869.600µs 37,110.400µs
11 D 10,112.720µs 4,498.300µs 62,598.200µs
12 Kotlin (JVM) 20,223.764µs 7,508.200µs 99,181.800µs
13 Ruby 26,484.268µs 15,941.600µs 89,656.200µs
14 Go 30,062.796µs 1,415.500µs 268,087.300µs
15 PHP 38,784.316µs 6,243.000µs 116,606.100µs
16 Python 60,417.812µs 33,423.600µs 147,489.700µs
17 Java 80,385.464µs 6,929.400µs 273,049.700µs
18 JavaScript (Bun) 119,150.696µs 44,458.800µs 346,473.600µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times