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 | C++ (G++) | 0.341ms | 0.311ms | 0.467ms |
2 | C (GCC) | 0.370ms | 0.314ms | 0.656ms |
3 | C (Clang) | 0.372ms | 0.348ms | 0.500ms |
4 | C++ (Clang++) | 0.394ms | 0.343ms | 0.628ms |
5 | PHP | 1.094ms | 0.735ms | 7.041ms |
6 | Rust | 1.390ms | 0.727ms | 16.136ms |
7 | Java | 1.902ms | 0.919ms | 16.605ms |
8 | JavaScript (Node) | 2.512ms | 2.250ms | 3.178ms |
9 | Go | 7.074ms | 0.457ms | 164.570ms |
10 | Kotlin (Native) | 22.720ms | 6.084ms | 379.660ms |
11 | JavaScript (Deno) | 24.884ms | 1.694ms | 564.557ms |
12 | JavaScript (Bun) | 52.101ms | 2.247ms | 532.259ms |
13 | Kotlin (JVM) | 170.492ms | 4.100ms | 1,018.625ms |
14 | Ruby | 204.783ms | 19.285ms | 1,444.036ms |
15 | Python | 15,759.596ms | 2,847.885ms | 70,543.317ms |