Open Bug 1529283 Opened 8 months ago Updated 7 months ago

nsAnonTempFileRemover::RemoveAnonTempFileFiles does main thread I/O off a timer

Categories

(Core :: XPCOM, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: florian, Unassigned)

References

Details

(Whiteboard: [fxperf:p3][qf:p3:resource])

Here is a profile of it: https://perfht.ml/2DW0lxB

Apparently we do main thread I/O off a timer to create a folder to then be able to remove it, with the goal of removing the folder content if the folder existed.

I think this should be done off main thread. And it would be better if we could avoid creating the folder (which creates all the folders in the path recursively) to remove it.

Priority: -- → P3
Whiteboard: [fxperf][qf] → [fxperf][qf:p3:resource]
Whiteboard: [fxperf][qf:p3:resource] → [fxperf:p3][qf:p3:resource]
You need to log in before you can comment on or make changes to this bug.