cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ti-ji
New member
Status: New idea

Optimize fetch api. When the result is json, do not wait for data transfer to complete before performing parsing.

tiji_0-1722133552654.png

1. Downloading took 1.4 seconds

2. Memory copying took 47ms

3. JSON parsing took 193ms

 

If we run 2 and 3 at the same time as 1, this will improve response time.

2 should be run at the same time as 1 anyway.

3 should also be run at the same time to compensate for network time

 

1 Comment
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.