Fork of Ruby portion of https://github.com/SamSaffron/MiniProfiler