Skip to content

Instantly share code, notes, and snippets.

@aheckmann
Created August 7, 2012 20:33
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 aheckmann/3289050 to your computer and use it in GitHub Desktop.
Save aheckmann/3289050 to your computer and use it in GitHub Desktop.
> node -v
v0.8.5
// faster cloning means faster updates
> git checkout 2.x
> node benchmarks/clone.js
took 12.738 seconds for 100000 docs (7850.525985241012 dps)
> git checkout master
> node benchmarks/clone.js
took 6.507 seconds for 100000 docs (15368.065160596281 dps)
// document creation times improve as well
> git checkout 2.x
> node benchmarks/create.js
reading from disk and parsing JSON took 2 ms
instantiating schema object took 3994 ms
> git checkout master
> node benchmarks/create.js
reading from disk and parsing JSON took 2 ms
instantiating schema object took 2312 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment