Script Preparation code:
Tests:
  • prototype function + "this"

  • object function + closure

  • capture method

  • bind function

  • wrap function

  • prototype function + "this" (remove 1 scope)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    prototype function + "this"
    object function + closure
    capture method
    bind function
    wrap function
    prototype function + "this" (remove 1 scope)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56 on Windows 7
View result in a separate tab
Test name Executions per second
prototype function + "this" 306281984.0 Ops/sec
object function + closure 148630272.0 Ops/sec
capture method 145425712.0 Ops/sec
bind function 130681192.0 Ops/sec
wrap function 148726864.0 Ops/sec
prototype function + "this" (remove 1 scope) 178469824.0 Ops/sec


;