Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
5 months ago
Test name Executions per second
object.keys() 32646028.0 Ops/sec
JSON.stringify() 16130836.0 Ops/sec
Script Preparation code:
Tests:
  • object.keys()

  • JSON.stringify()