Open Bug 704657 Opened 13 years ago Updated 2 years ago

Xulrunner's temporary file creation results in long latency sometimes

Categories

(Firefox :: File Handling, defect)

x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mralston, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Steps to reproduce:

The IMVU client has xulrunner embedded in it, and a flash widget embedded inside of that.
The flash widget makes network requests, the result of which get cached to disk.


Actual results:

Generating temporary files performs a linear search for available filenames, which can create significant UI lag when there are enough files.


Expected results:

Temporary files should have more-unique filenames at initial generation, so that a search does not take very long to find an available filename.

There is a patch attached that should fix it.
Product: Core → Firefox
Version: 1.9.2 Branch → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: