Open Bug 1714931 Opened 5 years ago Updated 1 year ago

Excessive file IO for websites where document title changes frequently

Categories

(Toolkit :: Places, defect, P3)

Firefox 89
Desktop
Windows 10
defect

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.

Component: Untriaged → Bookmarks & History
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop
Component: Bookmarks & History → Places
Product: Firefox → Toolkit

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.

Blocks: PlacesIO
Severity: -- → S3
Status: UNCONFIRMED → NEW
Depends on: 661590
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.