HTML Preparation code:
AخA
 
1
<script type="importmap">
2
  {
3
    "imports": {
4
      "es-toolkit": "https://esm.sh/es-toolkit@%5E1"
5
    }
6
  }
7
</script>
Script Preparation code:
x
 
import { isEqual: esToolkitisEqual } from 'es-toolkit';
const node1 = {
    id: "n-w71cvCJS6w7WM8E3C3_6w",
    order: "a06DJ",
    type: "shape",
    attributes: {
      width: 100,
      height: 100,
      color: '#fff',
    }
};
const node2 = {
    id: "n-w71cvCJS6w7WM8E3C3_6w",
    order: "a06DJ",
    type: "shape",
    attributes: {
      width: 100,
      height: 100,
      color: '#fff',
    }
};
Tests:
  • es-toolkit [Async/Deferred]

     
    esToolkitisEqual(node1, node2);
  • JSON.stringify [Async/Deferred]

     
    JSON.stringify(node1) === JSON.stringify(node2);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    es-toolkit
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!