Skip to main content

Posts

Showing posts with the label performance

Cached, PHP generated Thumbnails load slow: How to find problem/solution from Waterfall graphs?

Question Part A ▉ (100 bountys, awarded) Main question was how to make this site, load faster. First we needed to read these waterfalls. Thanks all for your suggestions on the waterfall readout analysis. Evident from the various waterfall graphs shown here is the main bottleneck: the PHP-generated thumbnails. The protocol-less jquery loading from CDN advised by David got my bounty, albeit making my site only 3% faster overall, and while not answering the site's main bottleneck. Time for for clarification of my question, and, another bounty:

How does Facebook achieve good performance?

Almost everyone has a Facebook account, even people who are not familiar with the Internet. With millions people actively using Facebook, updating their status, replying to messages, uploading photos and so on, how is Facebook's page still loading very fast?

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?

Which Java profiler is better: JProfiler or YourKit?

Which profiler is better for general purpose profiling and heap analysis? 90% of our apps are standalone command line programs with substantial database and numeric processing. The other 10% are webapps/servlet container apps (with very little JSP and NO SCRIPLETS!). Target user would be Sr Software Engineer with 5-10 years of industry experience. We need support only for Sun JDK 5 and.

Add Expire Headers in php cant make it work

I have Yslow add-on installed When I checks my application in Yslow I get Add Expires headers which I don't know

Java efficiency

I'm playing with some piece of code calculating the time needed to compute some Java code to get a feeling of the efficiency or inefficiency of some of Java's functionality. Doing so I'm stuck now with some really strange effect I just can't explain myself. Maybe someone of you can help me understand it.

Java native launcher performance

I have a program written in Java and a native launcher written in C++, based on a sample at http://www.codeproject.com/Articles/17352/JVM-Launcher . A strange thing is that running my program with my native launcher take more CPU than using java.exe (~5% vs 15-20%). I have been giving this situation some thought but it still doesn't make much sense. I've tried increasing the JVM heap size, (re)built the native launcher in release mode, used different JRE version(1.6_24, 1.6_31, 1.7_03) but no luck.

Comparing the performance of $("#foo .bar”) and $(".bar”, "#foo”)

Scroll down for the getById.getByClassName vs. qSA comparison! If we wanted to select all elements of class "bar" which are inside the element with the ID "foo" , we could write this:

Scaling Drupal

I am working on a Drupal based site and notice there are a lot of seperate CSS and js files. Wading though some of the code I can also see quite a few cases where many queries are used too. What techniques have you tried to improve the performance of Drupal and what modules (if any) do you use to improve the performance of Drupal 'out of the box'? Source: Tips4all