HTML Preparation code:
Script Preparation code:
Tests:
  • Inline Function

  • With useCallback

  • Without useMemo

  • With useMemo

  • Child without memo

  • Child with memo

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Inline Function
    With useCallback
    Without useMemo
    With useMemo
    Child without memo
    Child with memo

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125 on Linux
View result in a separate tab
Test name Executions per second
Inline Function 214085.2 Ops/sec
With useCallback 285240.2 Ops/sec
Without useMemo 162218.9 Ops/sec
With useMemo 275250.8 Ops/sec
Child without memo 127582.2 Ops/sec
Child with memo 126163.3 Ops/sec


;