Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
2 years ago
Test name Executions per second
global method lookup 2412013.5 Ops/sec
bound own method 2568798.0 Ops/sec
global method lookup w/cache 3340468.2 Ops/sec
bound own method w/cache 3725791.5 Ops/sec
Script Preparation code:
Tests:
  • global method lookup

  • bound own method

  • global method lookup w/cache

  • bound own method w/cache