Skip to content

Instantly share code, notes, and snippets.

@dekart
Created September 11, 2009 11:18
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 dekart/185236 to your computer and use it in GitHub Desktop.
Save dekart/185236 to your computer and use it in GitHub Desktop.
ruby serialize_bench.rb
user system total real
Marshal dump 0.350000 0.010000 0.360000 ( 0.355897)
Marshal load 0.310000 0.000000 0.310000 ( 0.312442)
YAML dump 15.900000 0.030000 15.930000 ( 16.127431)
YAML load 3.810000 0.010000 3.820000 ( 3.878175)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment