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 (GCC) | 0.129ms | 0.109ms | 0.297ms |
2 | C++ (G++) | 0.150ms | 0.108ms | 0.663ms |
3 | C (Clang) | 0.188ms | 0.137ms | 0.632ms |
4 | C++ (Clang++) | 0.320ms | 0.137ms | 3.176ms |
5 | PHP | 0.621ms | 0.471ms | 1.389ms |
6 | Rust | 1.505ms | 1.037ms | 5.037ms |
7 | Java | 1.863ms | 1.592ms | 3.583ms |
8 | Go | 4.718ms | 0.000ms | 91.771ms |
9 | Kotlin (JVM) | 12.477ms | 5.510ms | 54.266ms |
10 | Kotlin (Native) | 13.968ms | 11.206ms | 33.712ms |
11 | JavaScript (Node) | 23.276ms | 2.553ms | 147.752ms |
12 | JavaScript (Deno) | 28.850ms | 1.348ms | 153.021ms |
13 | Ruby | 56.396ms | 23.275ms | 130.443ms |
14 | JavaScript (Bun) | 111.610ms | 37.408ms | 384.580ms |
15 | Python | 14,062.623ms | 4,601.377ms | 24,033.378ms |