Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
set.has
6K/s
object check
6K/s
old object check
5K/s

Fastest: set.has (1.1x faster)

View exact numbers
  • set.has: 5,734 ops/sec
  • object check: 5,635 ops/sec
  • old object check: 5,158 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: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/108.0.0.0 (Edition developer)
Opera 108 on Windows
View result in a separate tab
set.has
6K/s
object check
6K/s
old object check
6K/s
View exact numbers
Test name Executions per second
set.has 5,664 Ops/sec
object check 5,570 Ops/sec
old object check 5,531 Ops/sec