public
Created

  • Download Gist
arango_performance.js
JavaScript
1 2 3 4
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) { c.save({ "value" : "test_" + i }); }; var e = new Date();
e.getMilliseconds() - t.getMilliseconds();

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.