new vs Object.create 1 (v18)

Revision 18 of this benchmark created on


Preparation HTML

<script>
  var Klass = function() {
a:1
};
  var Klass1={a:1}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
new
var object = new Klass();
ready
Object.create
var object = Object.create(Klass1);
ready

Revisions

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