Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
isFunction 3852115.2 Ops/sec
typeof function 7612672.5 Ops/sec
instanceof 3901028.8 Ops/sec
wrapped typeof function (like optimized _.isFunction) 3952570.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • isFunction

  • typeof function

  • instanceof

  • wrapped typeof function (like optimized _.isFunction)