Load Testing Blog

Showing posts tagged “performance”

IE Performance Tip: avoid repeating <img> tags

This tip is more for those users who have developed a sophisticated data-crunching interface to their app. On one screen, for simplicity, the app gives a long list of data, without pagination controls being created by the user (such as a “View All” feature). To keep it pretty, each line has a visual icon or some surrounding images. Sound familiar? For example, let’s say the list is created by a testing system, indicating which tests were passed and which failed. The list may look something like:

For this example, we’ve … Continue reading »

Drupal: Caching and Database Scalability

Note: This is Part 4 of an ongoing series on Drupal performance and load testing. If you haven’t already, read the introduction.
Summary
We measured Drupal’s performance with respect to database size, demonstrating flat performance regardless of the size of the database.  We also got some good data demonstrating Drupal’s behavior with caching.
Procedure
We re-created our previous test platform: a stock Drupal installation on an Amazon Elastic Cloud m1.large instance with both the Alternative PHP Cache (APC) and Drupal’s built-in caching capabilities.  In this test, however, instead of scaling the number of … Continue reading »

Optimizing Drupal: From Baseline Drupal to the Pantheon Drupal Platform

Note: This is Part 2 of an ongoing series on Drupal performance and load testing. If you haven’t already, read the introduction.
Summary
We measured Drupal’s performance with a naive and recommended configuration, and again using the Pantheon Drupal Platform, demonstrating a better than 15x improvement in performance.
Procedure
We created a Drupal installation on the Amazon Elastic Cloud, which allows us to start and customize Drupal in a matter of minutes.  For these tests we used Amazon’s “Large” 64bit instance, which corresponds roughly to a dual-core machine … Continue reading »

Knowing your Security with Stress Testing

In the past, we’ve had plenty of discussion on how performance effects user experience, and how that relates to conversions. But, can a server’s performance effect it’s security?
During a previous test, we had a customer whose site included a contact form. The user would complete the contact form in their browser, and the application server would convert this response into an e-mail and send it through a mail server. The contact form, coupled with the use of a CAPTCHA, helps to cut back on undesirable messages. During our testing, we … Continue reading »

Load Testing Drupal: Introduction

At Web Performance, we’re all about measuring and optimizing web applications.  This quarter we decided to test a variety of Drupal configurations, starting with the most basic (unpack the drupal tarball into /var/www and run) and collecting benchmarks with increasingly sophisticated systems using optimized LAMP stacks and even a dual-server caching configuration.
For our test scenario, we imagined that we had just started a small drupal-based blog when a popular website linked to one of our stories and directed massive traffic onto our server. These visitors read stories, followed interesting links, … Continue reading »

Designing for Scalability

I ran across this article yesterday. It is nearly two years old, but the content is still entirely relevant. If you are building a system that needs to scale out to handle a large load, then you’ve probably already read this or something similar…if not, then it is worth your time.
What is the relevance to Load Testing, you ask? In section 5 author, Simon Brown, says”
“… set measurable goals throughout the system, verify and measure the real performance and consider performance at all stages of the project.”
For a project manager, a key … Continue reading »

New JavaScript optimizer

From a load testing perspective, we are not generally concerned with Javascript performance – since it affects client-side rendering time and therefore has little relationship to load. However, we do see a lot of sites that could benefit greatly from improved Javascript performance – especially reducing the size of their Javascript files. Google has a relatively new project, Closure Compiler, that optimizes JavaScript code to reduce size and improve performance.
If you’ve tried the Closure Compiler, give us a shout. We’d love to hear about your results!
Chris
Chief Engineer

Memory consumption and reclamation – Chrome vs. Firefox

I reboot my laptop as infrequently as possible – which means that I keep Firefox running for weeks without restarting. At least, I would prefer to. But the longer it runs, the more memory it gobbles. The only way to reclaim it is to restart.
So when I read about the tab-isolation feature in Googles new Chrome browser which uses a separate process for each tab, it peaked my interest. I installed Chrome and tried a very quick (and not very scientific) test, as described below.
Firefox had been open … Continue reading »

Resources

Copyright © 2012 Web Performance, Inc.

Website design and development by DesignHammerA Durham web design company