Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows
Desktop
one year ago
Test name Executions per second
looping to compare properties 142021.7 Ops/sec
less loop but with char code and json stringify 28620.7 Ops/sec
using sort 76517.1 Ops/sec
Script Preparation code:
Tests:
  • looping to compare properties

  • less loop but with char code and json stringify

  • using sort


;