Optimize Work page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Fix Released
|
Medium
|
Anand Chitipothu |
Bug Description
3/22, from Anand:
Work pages were taking too long to load.
$ time curl http://
dev/null
real 0m48.054s
I noticed an expensive call, output of which is used only when add-
cover link is clicked. Removing that[1] reduced the load time to
almost half.
$ time curl http://
dev/null
real 0m27.655s
Running with _profile=true showed that the next overhead is is the
copy.deepcopy calls used to make copy of the object data before
creating objects and it turns out to be that is not really required.
Removing that reduced the load time quite a lot again.
$ time curl http://
dev/null
real 0m17.660s
Thats all for now.
[1]: http://
Anand
17 secs is still too long...