Benchmarks

Windows Benchmark: List Creation (100)

Creats a list with 100 elements. List implementations are initialized to their default capacity.

list array 100

All-Time Rankings

Rank Language Average Time Best Time Worst Time
1 C++ (Clang++) 8.732µs 8.100µs 9.600µs
2 C++ (G++) 9.060µs 8.200µs 10.100µs
3 GraalVM 9.208µs 8.200µs 11.900µs
4 PHP 11.480µs 8.400µs 13.500µs
5 Python 17.980µs 13.000µs 50.100µs
6 D 21.592µs 19.300µs 27.300µs
7 JavaScript (Node) 23.544µs 18.600µs 58.300µs
8 Ruby 39.052µs 25.400µs 126.100µs
9 JavaScript (Deno) 42.956µs 26.200µs 230.600µs
10 Java 44.544µs 35.000µs 83.900µs
11 C (GCC) 50.936µs 35.400µs 282.300µs
12 C (Clang) 52.528µs 41.300µs 207.900µs
13 Rust 110.292µs 10.100µs 2,464.100µs
14 Go 191.836µs 0.000µs 2,514.400µs
15 Zig 437.564µs 164.400µs 4,445.000µs
16 Kotlin (Native) 733.944µs 450.800µs 2,666.100µs
17 JavaScript (Bun) 1,040.476µs 40.300µs 7,700.900µs
18 Kotlin (JVM) 8,796.232µs 654.800µs 172,226.000µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times