From: "Shot (Piotr Szotkowski)" Date: 2009-10-03T20:46:31+09:00 Subject: Re: Backporting Enumerator.new { ... } to Ruby 1.8.7 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Roger Pack: >> I=E2=80=99m trying to backport my code from Ruby 1.9 to Ruby 1.8.7 so th= at I can >> profile it sanely with ruby-prof or zenprofile (neither of which works >> sensibly under Ruby 1.9 as of now). > I heard some rumors ruby-prof would work soon... > http://twitter.com/methodmissing ruby-prof does work in 1.9, there are even two versions that work. Unfortunately, one of them does not aggregate the results (and you end up with mutli-megabyte reports and thousands of calls like Set#hash-1139), while the other, which does aggregate the results, does this in insane amounts of time (I waited for an hour to get a minute-long run results aggregated). ZenProfile, in turn, depends on event_hook, which does not work in 1.9 and it=E2=80=99s not sure whether it=E2=80=99ll get ported anytime s= oon: http://groups.google.com/group/ruby-core-google/browse_thread/thread/afaf0a= ad1e20d9c0/f09084047cbe04d4 =E2=80=94 Shot --=20 Using James Gosling=E2=80=99s T-Shirt Launcher, Larry Ellison Slings Framed, Autographed Photos of Himself into JavaOne Audience [Patently False] --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrHOTkACgkQi/mCfdEo8Uqh5ACfUGPUJEHUqxxeU+KWHfh+1X5Q mYcAni1gJILXtQJorZsYl9Vziv+UtBEb =1NmN -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--