On 25 February 2015 at 14:14, Brian Gerstle <bgerstle@wikimedia.org> wrote:We're already near max CPU usage while loading an article (time profiler clocks us at around 80-90% peaking well over 100%—our app makes the CPU faster!)Our app is so unperformant that it breaks the basic principles of mathematics. Nice.
We quickly found a number of "big (CPU) spenders" that we should be able to optimize in parallel by splitting the work amongst the devs. I've started an etherpad where we can scratch notes on the attached trace, and link to phab tickets as we identify issues.Good stuff.I'll go ahead and create notes & corresponding tickets for the things Monte and I discovered. I highly encourage other devs to have a look when they're done with their current work items to see if we can gain any more insight from this trace.Great. The more material we have for our ticket busting meeting tomorrow, the better!
If we want, I can conduct a spike to convert these steps into a rudimentary automation script. It should take less than a day and will give us a way to accurately reproduce the measurements on all our machines and be able to relatively compare differences in performance caused by our patches.We're not in a position to be able to prioritise this yet. Let's focus our energy on getting the immediate problem fixed first.
Thanks,Dan--Dan GarryAssociate Product Manager, Mobile AppsWikimedia Foundation