Excessive file IO for websites where document title changes frequently
Categories
(Toolkit :: Places, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
Visit a website where the document title changes multiple times a second such as:
https://www.binance.com/en/trade/BTC_USDT?type=spot
Actual results:
With every title change the file places.sqlite gets updated which leads to hundreds of unnecessary file writes per minute.
The only thing that seems to change is the title for the appropriate record within the table moz_places.
Expected results:
Potentially buffer history changes and only update places.sqlite every couple of seconds, e.g. 30 and on browser close.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
we partially addressed the problem with Bug 1489503 for setting same title over and over. We also have some protection against continuous reloads, that I would expect to also help here, but probably it doesn't because title is set separately.
We still have Bug 661590 tracking history poisoning with #ref, and a similar approach could be used here.
This may be a duplicate, I'm traking it regardless to be sure it's there, and eventually we can dupe later.
Description
•