Script Preparation code:
AخA
 
var numShort1 = 2**32;
var numShort2 = 2**32;
var numShort3 = 2**31;
var numLong1 = 2**256;
var numLong2 = 2**256;
var numLong3 = 2**255;
var stringShort1 = "test";
var stringShort2 = "test";
var stringShort3 = "t35t";
var stringLong1 = "cyclonicBarrierTechnology";
var stringLong2 = "cyclonicBarrierTechnology";
var stringLong3 = "cockAndBallTorture";
Tests:
  • Short Number

     
    console.log(numShort1 == numShort3 || numShort1 == numShort2);
  • Long Number

     
    console.log(numLong1 == numLong3 || numLong1 == numLong2);
  • Short String

     
    console.log(stringShort1 == stringShort3 || stringShort1 == stringShort2);
  • Long String

     
    console.log(stringLong1 == stringLong3 || stringLong1 == stringLong2);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Short Number
    Long Number
    Short String
    Long String

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Short Number 703066.1 Ops/sec
Long Number 700607.4 Ops/sec
Short String 659523.9 Ops/sec
Long String 683360.8 Ops/sec