peterc/pismo — Issue #12: Slow Startup/Require
Author: coreyward
Created: 2012-01-02 23:26:38+00:00
State: open

I've been benchmarking the require time for the libraries in an application I'm working on to reduce the startup time (which is over 30 seconds). It turns out Pismo, which we use only rarely, takes over 1.2 seconds on my relatively speedy 13" Macbook Air.

Here's a perftools.rb output of where that time is spent (running the following script):

require 'rubygems'
require 'pismo'

![Perftools Output](http://f.cl.ly/items/1S1s0e3E3j3T3b0R3A0c/pismo_profile.gif)