rochefort
a43213c534
fix Example: Rename tools/profile_requires -> tools/profile
2012-10-06 01:32:02 +09:00
Kornelius Kalnbach
d8c1949684
require "rubygems" is obsolete in Ruby 1.9.3
2012-05-13 14:47:25 +02:00
Prem Sichanugrist
f1637bf2bb
Remove Active Resource source files from the repository
...
Dear Active Resource,
It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.
I will miss you,
@sikachu.
2012-03-13 14:55:44 -04:00
Jeremy Kemper
4883082ff1
Support an extra profile printer arg
2010-06-24 01:08:12 -07:00
Jeremy Kemper
7b730a2f1b
Show GC time and # of runs too
2010-06-23 16:11:13 -07:00
Jeremy Kemper
577034decb
Ensure require and load are private - h/t apeiros
2010-04-24 10:38:41 -07:00
Jeremy Kemper
50cdb654ac
Use call stack printer if available
2010-04-04 11:56:49 -07:00
Jeremy Kemper
4b07352420
./tools/console to drop into irb with rails loaded
2010-03-28 18:18:25 -07:00
Jeremy Kemper
d73f2ff434
Rename tools/profile_requires -> tools/profile since we do both require and ruby-prof profiling.
2009-05-27 01:11:33 -05:00
Jeremy Kemper
886eeed52e
Clean up tools/profile_requires a bit
2009-05-21 10:22:35 -07:00
Jeremy Kemper
4f291fa528
Simple examples for require profiling
2009-05-13 12:00:49 -07:00
Jeremy Kemper
e9c5750bd1
Preserve ordering
2009-05-13 11:43:03 -07:00
Jeremy Kemper
8ee0c598db
Tool for profiling resource usage in each require call.
...
$ ruby -Iactiveresource/lib tools/profile_requires.rb active_resource
91.84 KB 3220 obj 4.0 ms active_resource
83.86 KB 3108 obj 3.3 ms active_support
69.32 KB 2682 obj 2.6 ms active_support/vendor
33.98 KB 651 obj 0.6 ms i18n
94.40 KB 315 obj 4.0 ms 44 KB RSS
2009-05-07 12:10:26 -07:00