Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.