anonymous instance (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
named instance
for (var i = 0; i < 100; i++) {
  (function() {
    var o = new Object();
    o.toString();
  })();
}
ready
anonymous insatnce
for (var i = 0; i < 100; i++) {
  (function() {
    (new Object()).toString();
  })();
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.