Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
4 months ago
Test name Executions per second
Mass replace (loop node itself) 31263.2 Ops/sec
Mass replace (loop node itself but with documentFragment) 29295.9 Ops/sec
Mass change (reactive elems only) 478899.1 Ops/sec
Script Preparation code:
Tests:
  • big int array style

  • string style

  • hybrid

  • big int looped

  • big int looped 2