Benchmark: Count to 100 Million
Programs that count to 100 million
number
count
100M
All-Time Rankings
Rank | Language | Average Time | Best Time | Worst Time |
---|---|---|---|---|
1 | Kotlin (JVM) | 0.165s | 0.082s | 0.270s |
2 | Java | 0.201s | 0.068s | 0.390s |
3 | JavaScript (Deno) | 1.867s | 1.406s | 2.504s |
4 | C++ (G++) | 1.972s | 1.619s | 2.481s |
5 | C (GCC) | 1.995s | 1.518s | 2.618s |
6 | C++ (Clang++) | 2.357s | 1.954s | 3.335s |
7 | JavaScript (Node) | 2.375s | 1.954s | 2.630s |
8 | C (Clang) | 2.395s | 2.045s | 2.985s |
9 | JavaScript (Bun) | 2.628s | 1.618s | 4.582s |
10 | Go | 5.578s | 4.528s | 6.693s |
11 | Kotlin (Native) | 6.954s | 4.458s | 8.372s |
12 | Rust | 13.601s | 1.851s | 24.077s |
13 | Python | 14.176s | 8.506s | 97.625s |
14 | Ruby | 15.287s | 4.456s | 132.495s |
15 | PHP | 15.564s | 12.556s | 28.952s |