Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Ubuntu
Desktop
one year ago
Test name Executions per second
Set then sort 542712.5 Ops/sec
uniq then sort 2519598.2 Ops/sec
sort then sortedUniq 2356308.0 Ops/sec
HTML Preparation code:
Tests:
  • Set then sort

  • uniq then sort

  • sort then sortedUniq