3 ms·
If you hit a hot path the impact can be way higher. Especially if you're running client-side and want a fluid experience. Example: https://github.com/facebook/r
by mlazowik 8y ago
If you hit a hot path the impact can be way higher. Especially if you're running client-side and want a fluid experience. Example: https://github.com/facebook/react/pull/12510 https://github.com/facebook/react/pull/12510
But definitely agree that cleaner code > performance in most cases. First make sure you really do need to squeeze that performance out.