Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Function Invocation
(version: 0)
Comparing performance of:
Nested vs Unnested
Created:
4 years ago
by:
Guest
Jump to the latest result
Tests:
Nested
const handleClick = (id) => (event) => console.log(id); handleClick('hello');
Unnested
const handleClick = (event, id) => console.log(id); handleClick('world');
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Nested
Unnested
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Explicit call vs apply
Ramda flatten function VS Array.prototype.flat
Switch vs Functional Approach
Switch vs Functional Approach 3
global function or function in function
Comments
Confirm delete:
Do you really want to delete benchmark?