test

Benchmark created on


Preparation HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.0/underscore.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
_

_.range(10000).forEach(function(i) {
    _.isEqual({a: 1, b: false, c: 'dd'},{a: 1, b: false, c: 'dd'})
  });
ready
no _

_.range(10000).forEach(function(i) {
    Object.entries({a: 1, b: false, c: 'dd'},{a: 1, b: false, c: 'dd'})
        .sort()
        .toString() !==
      Object.entries({a: 1, b: false, c: 'dd'},{a: 1, b: false, c: 'dd'})
        .sort()
        .toString()
  });
ready

Revisions

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