sitespeedio / coach

Clear Eyes. Full Hearts. Can’t Lose.
MIT License
1.21k stars 64 forks source link

Speed up pick a page API #293

Closed soulgalore closed 6 years ago

soulgalore commented 6 years ago

If you collect the HAR from a site with a lot of requests (for example cnet), pick a HAR is really slow:

https://github.com/sitespeedio/coach/blob/master/lib/har/harCutter.js#L3-L21

I think clone deep is the problem, could it be better to just pick the nodes we want?

soulgalore commented 6 years ago

Let us release this next week when FF 61 is stable.