Closed Bug 417993 Opened 16 years ago Closed 16 years ago

Decrease Stats dashboard load time

Categories

(addons.mozilla.org Graveyard :: Statistics, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fligtar, Assigned: fligtar)

Details

Attachments

(2 files)

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.
Attached image 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
Attachment #303955 - Attachment is patch: false
Attachment #303955 - Attachment mime type: text/plain → image/png
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.
Changed my mind - the current setup is how it's going to stay for now.
Status: ASSIGNED → RESOLVED
Closed: 16 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.

Attachment

General

Created:
Updated:
Size: