Investigation of nsHandlerService API improvement: off the main thread

RESOLVED FIXED

Status

()

P2
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: wiwang, Assigned: edenchuang)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CHE-MVP])

(Reporter)

Description

2 years ago
To improve the performance of nsHandlerService API, we need to identify the pros and effort of re-implementing the API to make it off the main thread.
(Reporter)

Comment 1

2 years ago
This bug is for investigation only and will be resolved after the conclusion reached.
If the conclusion support us to implement, another bug will be filed.
Assignee: nobody → wiwang

Updated

2 years ago
Whiteboard: [CHE-MVP]

Comment 2

2 years ago
I expect that if we can have an asynchronous API, which will be revealed by the investigation in bug 1287673, we will be able to use OS.File to read the JSON file, without the synchronous nsIFile fallback we had to implement in the JSON store for logins.

Comment 3

2 years ago
As I talked with Will, we will do the related research this quarter.
Therefore, set priority to P2.
Priority: -- → P2
(Assignee)

Updated

2 years ago
Assignee: wiwang → echuang
(Assignee)

Comment 4

2 years ago
According to the study result of bug 1287673, some API are suggested to implement with asynchronous JSON backed store. And according to Paolo's suggestion, these JSON backed store API can be considered off main thread implementation with OS.File.

The study is completed, set the bug as completed.
The implementation will be tracked on bug 1287658.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.