Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Chrome 79
Mac OS X 10.15.2
Desktop
4 years ago
Test name Executions per second
filter 5146.9 Ops/sec
methods 5157.7 Ops/sec
computed with function 5098.4 Ops/sec
filter repeated 5339.0 Ops/sec
methods repeated 5339.9 Ops/sec
computed repeated 5177.7 Ops/sec
computed with variables 5051.1 Ops/sec
computed with variables repeated 5034.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • filter

  • methods

  • computed with function

  • filter repeated

  • methods repeated

  • computed repeated

  • computed with variables

  • computed with variables repeated