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 30866306.0 Ops/sec
set remove 31664146.0 Ops/sec
add map 14843.5 Ops/sec
add set 18199.4 Ops/sec
has Map 23248.4 Ops/sec
has set 22310.3 Ops/sec
Script Preparation code:
Tests:
  • map delete

  • set remove

  • add map

  • add set

  • has Map

  • has set