Address performance issue related to `isInRemovedId` is messages reducer
Categories
(DevTools :: Console, enhancement)
Tracking
(firefox123 fixed)
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(2 files)
Let's try to address bug 1873066's issue specific to isInRemovedId
first:
https://searchfox.org/mozilla-central/rev/6321fb8f7533456a62dfa2aa68ee0477a6c8f693/devtools/client/webconsole/reducers/messages.js#987
Assignee | ||
Comment 1•1 year ago
|
||
DAMP tests weren't logging enough messages to reach the maximum number of displayed messages,
which is currently set to 10k. Some extra computation happens to prune old, removed messages
which appear to be sometime slow.
Also log many messages during the batch iteration so that we removes lots of messages
on each new console update.
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
As we are only doing inclusion test, and this dataset is often large,
this will be signficantly faster.
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef4ab841de82
https://hg.mozilla.org/mozilla-central/rev/91b8506ce5af
Description
•