3 ms·
It's a common approach to measuring function spawn cost.
by meetups323 6y ago
It's a common approach to measuring function spawn cost.
- da_chicken 6y agoMaybe, but it's also why synthetic benchmarks are not convincing. Maybe node better handles a bad pattern, but if performance is a concern to this level we're more concerned about functionally equivalent good patterns even if the code is very different.
- atleta 6y agoI think GP meant how the fib function was written (and not why it was chosen for the measurement). The `if n == 1 or n == 0` thing hurts my eyes too.