Test case name | Result |
---|---|
Inline Function | |
Hooks | |
Without useMemo | |
With useMemo | |
Child without memo | |
Child with memo |
Test name | Executions per second |
---|---|
Inline Function | 340180.9 Ops/sec |
Hooks | 443529.9 Ops/sec |
Without useMemo | 274667.6 Ops/sec |
With useMemo | 432988.3 Ops/sec |
Child without memo | 232631.0 Ops/sec |
Child with memo | 253337.9 Ops/sec |