HTML Preparation code:
Script Preparation code:
Tests:
  • Map then create Set

  • Map then use Lodash uniq

  • Use Lodash then map

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map then create Set
    Map then use Lodash uniq
    Use Lodash then map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89 on Ubuntu
View result in a separate tab
Test name Executions per second
Map then create Set 1413507.4 Ops/sec
Map then use Lodash uniq 3979639.8 Ops/sec
Use Lodash then map 2545208.0 Ops/sec