Skip to content

Instantly share code, notes, and snippets.

@crast
Created February 24, 2013 18:13
Show Gist options
  • Select an option

  • Save crast/5024885 to your computer and use it in GitHub Desktop.

Select an option

Save crast/5024885 to your computer and use it in GitHub Desktop.
Results from running static-metadata-perf-tests bukkit branch on Linux (x86_64) and Java JDK7u15
FixedMetadataValue:
phase1: 143 MB
phase2: 214 MB
StaticMetadataValue:
phase1: 70 MB
phase2: 70 MB
Testing value FixedMetadataValue: 10000000 iterations
=> Elapsed 978 ms
Testing value StaticMetadataValue: 10000000 iterations
=> Elapsed 69 ms
(~14.2x speedup)
Testing value FixedMetadataValue: 100000000 iterations
=> Elapsed 9845 ms
Testing value StaticMetadataValue: 100000000 iterations
=> Elapsed 626 ms
(~15.7x speedup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment