

Mac 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 |
![]() |
44.842µs | 38.237µs | 68.154µs |
2 |
![]() |
47.943µs | 37.811µs | 119.627µs |
3 |
![]() |
155.200µs | 130.000µs | 253.000µs |
4 |
![]() |
168.120µs | 129.000µs | 419.000µs |
5 |
![]() |
239.040µs | 173.000µs | 417.000µs |
6 |
![]() |
317.288µs | 161.248µs | 2,403.216µs |
7 |
![]() |
334.152µs | 259.100µs | 1,014.100µs |
8 |
![]() |
496.732µs | 426.903µs | 975.735µs |
9 |
![]() |
682.124µs | 609.501µs | 1,051.135µs |
10 |
![]() |
685.619µs | 372.493µs | 5,583.594µs |
11 |
![]() |
943.600µs | 771.000µs | 2,162.000µs |
12 |
![]() |
1,025.730µs | 561.472µs | 4,095.487µs |
13 |
![]() |
1,134.800µs | 901.000µs | 2,498.000µs |
14 |
![]() |
1,398.286µs | 521.399µs | 4,233.808µs |
15 |
![]() |
4,089.640µs | 1,525.284µs | 9,025.727µs |
16 |
![]() |
4,529.046µs | 2,570.742µs | 18,933.803µs |
17 |
![]() |
22,067.866µs | 897.609µs | 464,084.412µs |
18 |
![]() |
45,228.840µs | 924.000µs | 1,104,396.000µs |