Tuning Cocoa applications using DTrace

I've spent some time recently with DTrace, a performance analysis and debugging framework that ships on every Mac running Leopard. It's an extremely powerful framework that many Cocoa programmers disregard due to its apparent complexity.