Script Preparation code:
Tests:

Historical Performance Data aggregated from 12 community runs

Desktop Results:
Chrome 7 runs
set.has
6K/s
old object check
6K/s
object check
5K/s
View exact numbers
  • set.has: 5,877 ops/sec
  • old object check: 5,850 ops/sec
  • object check: 5,445 ops/sec
Firefox 5 runs
old object check
3.8M/s
object check
3.7M/s
set.has
3.7M/s
View exact numbers
  • old object check: 3,752,778 ops/sec
  • object check: 3,748,779 ops/sec
  • set.has: 3,715,950 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    set.has
    object check
    old object check

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Firefox 135 on Windows
View result in a separate tab
old object check
3.8M/s
object check
3.6M/s
set.has
2.8M/s
View exact numbers
Test name Executions per second
old object check 3,752,778 Ops/sec
object check 3,624,909 Ops/sec
set.has 2,756,436 Ops/sec