Open Bug 1443567 Opened 3 years ago Updated 3 years ago

Improve HAR export performance


(DevTools :: Netmonitor, enhancement, P3)



(Not tracked)


(Reporter: Honza, Unassigned)


(Blocks 1 open bug)


This is follow up for bug 1434855

HAR exporter [1] is currently disabling redux actions when fetching data (to export) from the backend. This makes the export a lot more faster since it's avoiding batching timeouts generated by batching middleware [2]. 

The issue is that disabling redux actions results with the store not being updated. We should try to rather disable the batching middleware and ensure that the store is updated. However, updating the store might represents perf penalty, and so more analysis/testing needed.


[1] devtools/client/netmonitor/src/har/har-exporter.js
[2] devtools/client/netmonitor/src/middleware/batching.js
Priority: -- → P3
See also this comment:

Here is a profile of exportHar subtest:
It highlights FirefoxDataProvider.updateRequest. I'm wondering if the usage of Object.assign is an issue here. Do you know if FirefoxDataProvider has to be immutable? Isn't it redundant with what will happen in the reducers?

Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.