-
Dylan Tack
OpenSourcery Alumnus
First, if you aren't at Druaplcon this year, recordings of most (all?) off the sessions are available online! I've even bookmarked several that I couldn't attend, but want to watch later.
Here are some highlights:
There's a lot of neat stuff going into Drupal 7 to keep things fast. Catch gave a great overview at Performance in Drupal 7.
node_load_multiple(). This helps avoid the n+1 selects problem.
format_date() is really, absurdly expensive. Work is being done to improve this. It's also a great example of why profiling is so important, and how intuitions about performance are usually wrong (who would ever suspect such a harmless little function?).
Not all of these ideas have been committed yet — if you're interested check out the performance tag on the D7 issue queue.
Another vital tidbit I wasn't aware of — the system cron task clears all caches. So if you have a high cron frequency, you really need to set a minimum cache lifetime.
The automated patch testing system has been huge for Drupal's development process. The future of this framework was discussed at Saving webchick time:
If you run into Boombatower, be sure to say thanks for the PIFR infrastructure! It's easy to complain when your patch doesn't get the test result you want (I've been there), and when the bot was first introduced it did cause some disruptions. However the effectiveness of this process was demonstrated during the latest usability test, when only two actual bugs were discovered by the testers!
Now you're killing fake kittens instead of real kittens at the cost of a couple arrows. — Crell, on Objectifying Drupal. Sorry, you're just going to have to watch the video.

Tagged as: Drupal, Drupalcon, fake kittens, performance, pifr, Test-driven development