Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
2 months ago
Test name Executions per second
Includes 631266.1 Ops/sec
Object[key] 8771094.0 Ops/sec
Set.has 9333071.0 Ops/sec
map.has 9515439.0 Ops/sec
key in obj 8296869.5 Ops/sec
Script Preparation code:
Tests:
  • Includes

  • Object[key]

  • Set.has

  • map.has

  • key in obj


;