Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
3 months ago
Test name Executions per second
Array includes 20216922.0 Ops/sec
Set has 24227302.0 Ops/sec
Map has 24223946.0 Ops/sec
Script Preparation code:
Tests:
  • Array includes

  • Set has

  • Map has