Test case name | Result |
---|---|
Inline Function | |
With useCallback | |
Without useMemo | |
With useMemo | |
Child without memo | |
Child with memo |
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 |