Benchmarks

Benchmark: List Creation (10K)

Creats a list with 10,000 elements. List implementations are initialized to their default capacity.

list array 10K

All-Time Rankings

Rank Language Average Time Best Time Worst Time
1 C (GCC) 38.656µs 33.000µs 64.100µs
2 C (Clang) 119.380µs 36.200µs 1,930.300µs
3 C++ (G++) 296.624µs 231.800µs 570.000µs
4 Rust 341.424µs 214.400µs 1,595.700µs
5 PHP 441.804µs 322.300µs 1,237.900µs
6 C++ (Clang++) 450.428µs 240.500µs 4,543.600µs
7 Go 503.084µs 0.000µs 2,998.400µs
8 Java 1,105.292µs 935.900µs 3,263.900µs
9 Python 1,466.472µs 1,285.500µs 2,048.100µs
10 Ruby 3,069.180µs 1,050.600µs 44,149.500µs
11 JavaScript (Node) 3,991.192µs 1,010.400µs 53,758.900µs
12 Kotlin (Native) 9,830.388µs 5,990.700µs 41,157.900µs
13 JavaScript (Deno) 10,559.364µs 798.200µs 90,469.000µs
14 Kotlin (JVM) 13,477.236µs 2,098.300µs 112,924.500µs
15 JavaScript (Bun) 99,089.052µs 36,955.600µs 236,542.000µs

Average Times

Median Times

Best-Case Scenario Times

Worst-Case Scenario Times