Skip to content

Instantly share code, notes, and snippets.

@leto
Created July 14, 2011 20:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save leto/1083408 to your computer and use it in GitHub Desktop.
$ ./parrot examples/benchmarks/array_access.pir --arr-size=10000
1 * 1000 = 1000
10000 * 1000 = 10000000
FixedFloatArray: 3.97627401351929s
1 * 1000 = 1000
10000 * 1000 = 10000000
FixedIntegerArray: 3.72371602058411s
1 * 1000 = 1000
10000 * 1000 = 10000000
FixedPMCArray: 7.42486882209778s
1 * 1000 = 1000
10000 * 1000 = 10000000
FixedStringArray: 12.7350680828094s
1 * 1000 = 1000
10000 * 1000 = 10000000
ResizableFloatArray: 4.02106189727783s
1 * 1000 = 1000
10000 * 1000 = 10000000
ResizableIntegerArray: 3.86666107177734s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment