Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
user system total real
100000times 0.010000 0.000000 0.010000 ( 0.005554)
Array#new 100000times 0.020000 0.000000 0.020000 ( 0.024416)
List#new 100000times 0.040000 0.000000 0.040000 ( 0.037131)
Array#[] 100000times 0.020000 0.000000 0.020000 ( 0.016521)
List#[] 100000times 17.200000 0.020000 17.220000 ( 17.238337)
Array#push 100000times 0.010000 0.000000 0.010000 ( 0.019409)
List#push 100000times 0.030000 0.000000 0.030000 ( 0.026331)
Array#unshift 100000times 0.020000 0.000000 0.020000 ( 0.019558)
List#unshift 100000times 0.030000 0.000000 0.030000 ( 0.030940)
Array#pop 100000times 0.020000 0.000000 0.020000 ( 0.016320)
List#pop 100000times 11.820000 0.010000 11.830000 ( 11.844345)
Array#shift 100000times 0.020000 0.000000 0.020000 ( 0.016374)
List#shift 100000times 0.030000 0.000000 0.030000 ( 0.031886)
Array#insert 100000times 7.250000 0.010000 7.260000 ( 7.258165)
List#insert 100000times 0.040000 0.000000 0.040000 ( 0.037743)
Array#delete_at 100000times 2.360000 0.000000 2.360000 ( 2.355750)
List#delete_at 100000times 0.030000 0.000000 0.030000 ( 0.031474)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment