The SQL Query Massacre of January 19th, 2008
SQL queries for main page load: 116 → 21.
Enough said.
Still making that number smaller.
Update: Looks like I’m done, every query has its own use now. Here are the results, in comparison to WordPress. Chyrp has the Tags and Comments modules enabled.
Note: This isn’t meant to be a stab at WordPress or anything. I just used it as a baseline.
| Chyrp | WordPress | |
|---|---|---|
| Index | 21 | 21 |
| Archive | 21 | 19 |
| Tags/Category View | 14 | 20 |
| Page View | 11 | 25 |
| Total Load Time | 0.135 | 0.523 |
Comments
- Chad Ohman on January 19, 2008, at 03:30 PM
- Alex on January 19, 2008, at 03:56 PM
- Chad Ohman on January 19, 2008, at 03:57 PM
- pixeldotter on January 20, 2008, at 07:23 AM
- Alex on January 20, 2008, at 11:26 AM
- anon on January 24, 2008, at 02:08 PM
- Alex on January 24, 2008, at 05:30 PM
- Alex on January 29, 2008, at 06:17 PM
- state water heater on August 26, 2008, at 08:26 PM
- state select hot water heaters on August 27, 2008, at 05:21 AM