Benchmark: Array Assignment (100K)
Assigns 100,000 elements to an array.
array
100K
All-Time Rankings
Rank | Language | Average Time | Best Time | Worst Time |
---|---|---|---|---|
1 | Go | 0.309ms | 0.249ms | 0.508ms |
2 | C++ (G++) | 0.474ms | 0.137ms | 8.182ms |
3 | C (GCC) | 4.671ms | 0.140ms | 61.149ms |
4 | C (Clang) | 8.235ms | 0.332ms | 54.416ms |
5 | C++ (Clang++) | 13.819ms | 0.293ms | 62.721ms |
6 | PHP | 17.098ms | 0.615ms | 62.969ms |
7 | Rust | 29.253ms | 1.062ms | 89.560ms |
8 | Java | 39.020ms | 2.168ms | 90.923ms |
9 | JavaScript (Deno) | 60.524ms | 15.985ms | 125.006ms |
10 | JavaScript (Node) | 67.852ms | 35.161ms | 128.085ms |
11 | JavaScript (Bun) | 81.647ms | 24.565ms | 167.284ms |
12 | Kotlin (Native) | 124.361ms | 71.541ms | 190.285ms |
13 | Kotlin (JVM) | 144.834ms | 103.474ms | 220.016ms |
14 | Ruby | 533.275ms | 424.444ms | 655.805ms |
15 | Python | 15,005.666ms | 3,860.662ms | 80,347.776ms |