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) | 608.420µs | 318.100µs | 2,350.800µs |
2 | Rust | 5,744.936µs | 4,553.800µs | 14,423.300µs |
3 | JavaScript (Node) | 7,342.964µs | 2,167.900µs | 77,232.900µs |
4 | C++ (G++) | 7,371.416µs | 3,953.200µs | 18,024.200µs |
5 | C (GCC) | 7,471.564µs | 3,579.600µs | 23,802.000µs |
6 | C (Clang) | 8,013.276µs | 4,532.500µs | 27,927.200µs |
7 | C++ (Clang++) | 8,193.560µs | 4,647.200µs | 43,485.900µs |
8 | Kotlin (JVM) | 12,427.960µs | 7,509.100µs | 66,236.600µs |
9 | Java | 16,764.952µs | 7,312.600µs | 86,666.700µs |
10 | JavaScript (Deno) | 20,791.892µs | 2,803.500µs | 82,445.300µs |
11 | PHP | 40,112.172µs | 6,380.900µs | 114,235.000µs |
12 | Go | 41,426.800µs | 1,988.900µs | 210,000.800µs |
13 | Ruby | 43,318.536µs | 15,650.200µs | 268,991.500µs |
14 | Python | 70,599.556µs | 32,970.700µs | 174,752.300µs |
15 | JavaScript (Bun) | 130,319.032µs | 65,858.900µs | 277,671.600µs |