Open Bug 1443567 Opened 3 years ago Updated 3 years ago
Improve HAR export performance
This is follow up for bug 1434855 HAR exporter  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 . 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. Honza  devtools/client/netmonitor/src/har/har-exporter.js  devtools/client/netmonitor/src/middleware/batching.js
Priority: -- → P3
See also this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=1434849#c5 --- Here is a profile of exportHar subtest: https://perfht.ml/2tl8Joo 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? --- Honza
You need to log in before you can comment on or make changes to this bug.