Xulrunner's temporary file creation results in long latency sometimes

UNCONFIRMED
Unassigned

Status

()

Firefox
File Handling
UNCONFIRMED
6 years ago
2 years ago

People

(Reporter: Michael Ralston, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 576316 [details]
make_temporary_files_use_timestamp

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.

Updated

2 years ago
Component: File Handling → File Handling
Product: Core → Firefox
Version: 1.9.2 Branch → unspecified
You need to log in before you can comment on or make changes to this bug.