Benchmark: cbrt(x) (1K)
Benchmark the performance of the cbrt
function, between 1 and 1,000.
number
math
1K
All-Time Rankings
Rank | Language | Average Time | Best Time | Worst Time |
---|---|---|---|---|
1 | Kotlin (Native) | 16.092µs | 3.400µs | 309.300µs |
2 | Go | 39.904µs | 0.000µs | 997.600µs |
3 | C++ (G++) | 43.544µs | 41.300µs | 60.900µs |
4 | C++ (Clang++) | 47.204µs | 45.100µs | 62.400µs |
5 | C (Clang) | 79.552µs | 43.900µs | 880.700µs |
6 | PHP | 82.852µs | 76.100µs | 106.500µs |
7 | Rust | 96.592µs | 47.800µs | 850.700µs |
8 | JavaScript (Node) | 112.856µs | 103.200µs | 174.000µs |
9 | JavaScript (Deno) | 126.772µs | 108.800µs | 209.300µs |
10 | C (GCC) | 154.096µs | 37.500µs | 1,563.500µs |
11 | Ruby | 178.232µs | 154.300µs | 216.600µs |
12 | Python | 256.920µs | 211.100µs | 463.000µs |
13 | Kotlin (JVM) | 4,292.488µs | 1,601.000µs | 34,610.800µs |
14 | Java | 12,218.192µs | 1,106.400µs | 270,742.400µs |
15 | JavaScript (Bun) | 88,646.244µs | 28,392.900µs | 208,083.800µs |