Skip to content

Instantly share code, notes, and snippets.

@banker
Created May 3, 2011 14:58
Show Gist options
  • Save banker/953480 to your computer and use it in GitHub Desktop.
Save banker/953480 to your computer and use it in GitHub Desktop.
load.js
var str = "";
for(i=0; i<10000; i++) {
str += "0";
}
for(n=0; n<100; n++) {
for(i=0; i<10000; i++) {
db.foo.save({n: "user " + i, data: str});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment