After having lots of discussions and back-and-forths about whether or not a change will help/hinder performance, I'm looking for one of the following:
- A comprehensive analysis of the performance of various operations broken down by environment and other factors. Something that can tell me things like:
- Performance difference between a closure vs. a bind
- The cost of creating an anonymous object for passing parameters vs. passing parameters directly
- The overhead of making things asynchronous (Promise vs. direct call vs. setTimeout vs. async)
- The above, but not necessarily for all environments / situations. Mostly looking for nodejs / v8
- A good way to assess these things on my own (is jsperf still a thing?)
Can anyone help me out here?