Script Preparation code:
x
 
function Monster()
{
    this.x = 100;
    this.y = 100;
    console.log("Monster created at " + this.x + " / " + this.y + "!");
}
function Monster2()
{
    var that = this;
    that.x = 100;
    that.y = 100;
    console.log("Monster created at " + that.x + " / " + that.y + "!");
}
Tests:
  • this

     
    new Monster();
  • that

     
    new Monster2();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    this
    that

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36
Chrome 91 on Windows 7
View result in a separate tab
Test name Executions per second
this 41151.7 Ops/sec
that 43686.3 Ops/sec