News for hackers. Stuff that matters.
Re:Let's make the web faster: Tools to discover and improve ... by trampsymphony on Tuesday December 07, 2010 @09:58PM (#1981672)
Very true, but although these optimizations may not increase the actual speed of a database-heavy app by much, they can certainly improve the perceived speed. I've found this to be especially true if you can leave the expensive queries until after the initial page load.
Re:Let's make the web faster: Tools to discover and improve ... by tyrmored on Tuesday December 07, 2010 @10:13PM (#1981705)
My point is more that I've known more than a couple of frontend developers who leap on nifty frontend profiling tools like these before they've even tried a couple of well-placed table indices, or asking the database developer or systems guy about them. In my experience it's a lot easier to wrest 500ms from a bad query than 5ms from some bad JavaScript.
Re:Let's make the web faster: Tools to discover and improve ... by rimantas on Wednesday December 08, 2010 @04:39AM (#1982380)
In reality however you will usually wrest 50ms from DB and can shave off seconds in front-end. It's usually not about Javascript loops optimization, it's about optimization of resource loading and minimizing the effect of network latency. Even you if shaved 500ms of DB request, hardly anyone will notice if page waits 15seconds before it has everything fetched to be able to render.