Skip to content

Instantly share code, notes, and snippets.

@ksss
Created November 6, 2013 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksss/7336517 to your computer and use it in GitHub Desktop.
Save ksss/7336517 to your computer and use it in GitHub Desktop.
object AsciiPack.pack AsciiPack.unpack MessagePack.pack MessagePack.unpack JSON.generate JSON.parse Marshal.dump Marshal.load
float 64 0.010000 0.019000 0.005000 0.021000 0.146000 0.091000 0.017000 0.016000
str (1KB) 0.010000 0.006000 0.003000 0.009000 0.012000 0.013000 0.008000 0.006000
str (1MB) 0.615000 0.624000 0.620000 0.010000 6.930000 2.674000 0.684000 0.664000
str (100MB) 62.311000 38.908000 65.697000 0.008000 694.667000 365.372000 95.101000 21.771000
map 32 11.278000 113.378000 10.985000 50.425000 64.025000 73.425000 75.885000 130.176000
array 32 1.099000 1.885000 1.026000 2.316000 2.418000 6.733000 5.400000 4.099000

RUBY_VERSION:2.0.0 count:1 unit:/ms total:3.091615s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment