Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
6 months ago
Test name Executions per second
map delete 32054444.0 Ops/sec
set remove 32540494.0 Ops/sec
add map 15384.6 Ops/sec
add set 19030.2 Ops/sec
has Map 23186.4 Ops/sec
has set 22411.8 Ops/sec
Script Preparation code:
Tests:
  • map delete

  • set remove

  • add map

  • add set

  • has Map

  • has set