Open onlyjsmith opened 6 years ago
Looks to me like Array.filter
is exactly the same in the transpiled output. (Searched for filter_responses
in app.js
on deployed stage).
I think this would be a great place to start looking at performance, with a very small surface area of code to touch, and limited chance of side-effects.
We're iterating every response for every filter. How can we reduce this?
for
instead offilter
? really surely we're getting some benefits from some transpilation step? But note that this isn't based on any measurements - the loop might be a tiny part of the overall time cost. (done in #154)