Decrease Stats dashboard load time

RESOLVED FIXED

Status

addons.mozilla.org Graveyard
Statistics
RESOLVED FIXED
10 years ago
2 years ago

People

(Reporter: fligtar, Assigned: fligtar)

Tracking

Details

Attachments

(2 attachments)

(Assignee)

Description

10 years ago
Currently it takes a really long time to load the stats dashboard because of all the JS files. Need to look into using the compressed timeplot/timeline/ajax libraries and possibly compressing the other JS used.

Will probably use packer.
(Assignee)

Comment 1

10 years ago
Created attachment 303955 [details]
firebug load times

Firebug load times for a single dashboard page. Had to expand onto 2 monitors to get it all :\
Assignee: nobody → fligtar
Status: NEW → ASSIGNED
(Assignee)

Updated

10 years ago
Attachment #303955 - Attachment is patch: false
Attachment #303955 - Attachment mime type: text/plain → image/png
(Assignee)

Comment 2

10 years ago
Created attachment 303982 [details]
firebug load times after first fix

I wrote a shell script and rearranged some timeplot scripts to be able to build a single .js bundle of the tons of scripts it loads for timeplot, timeline, and simile ajax. I also combined all the timeplot css, although that probably won't help much.

Attached is the updated Firebug load times: 15 seconds faster.

I also made a packed version of the bundle script, but there are some JS errors with it so it's not ready yet. Leaving the bug open until we can get the packed version working, as it's 1/3 the size.
(Assignee)

Comment 3

10 years ago
Changed my mind - the current setup is how it's going to stay for now.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Summary: Decrease Stats DB load time → Decrease Stats dashboard load time
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.