Benchmarks

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) 1,331.094µs 310.693µs 17,212.529µs
2 Go 11,016.825µs 2,150.597µs 50,210.042µs
3 C (Clang) 49,374.907µs 10,472.802µs 73,821.347µs
4 C (GCC) 54,327.564µs 19,053.226µs 106,113.464µs
5 JavaScript (Deno) 62,669.934µs 8,421.813µs 112,848.039µs
6 C++ (G++) 64,374.489µs 7,125.627µs 117,275.279µs
7 C++ (Clang++) 64,421.275µs 31,469.003µs 120,312.262µs
8 JavaScript (Node) 81,707.670µs 7,600.097µs 140,494.783µs
9 Rust 82,999.144µs 41,376.121µs 127,195.741µs
10 JavaScript (Bun) 113,753.725µs 48,476.551µs 202,404.136µs
11 Java 190,243.570µs 50,696.634µs 303,995.331µs
12 Kotlin (JVM) 216,677.998µs 128,202.426µs 327,856.780µs
13 Ruby 359,019.621µs 288,784.869µs 464,695.061µs
14 Python 472,067.365µs 376,110.717µs 568,385.182µs
15 PHP 665,877.870µs 541,443.306µs 847,972.487µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times