Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
Current Method 109788.9 Ops/sec
My Method (removed empty check) 402850.2 Ops/sec
Yashish Method 359501.7 Ops/sec
Script Preparation code:
Tests:
  • Current Method

  • My Method (removed empty check)

  • Yashish Method