Skip to content
Create a gist now

Instantly share code, notes, and snippets.

var n = 1000, cn = "testdocs_js";
db._drop(cn); db._create(cn); var c = db._collection(cn);
var t = new Date(); for (var i = 0; i < n; ++i) {{ "value" : "test_" + i }); }; var e = new Date();
e.getMilliseconds() - t.getMilliseconds();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.