A
Austin Ziegler
I had a user report a slowdown in PDF::Writer. I'm pretty certain I
know where the problem is, but I found something very interesting.
About 3% of the profiled performance of the manual generation (with
Shugo Maeda's new profiler) -- and near 20,000,000 (yes twenty
MILLION) calls -- are calls to Kernel.respond_to?.
A little digging later, and it looks like 98% of these calls -- or
more -- are in Marshal.dump. That's ... amazing.
-austin
--=20
Austin Ziegler * (e-mail address removed)
* Alternate: (e-mail address removed)
know where the problem is, but I found something very interesting.
About 3% of the profiled performance of the manual generation (with
Shugo Maeda's new profiler) -- and near 20,000,000 (yes twenty
MILLION) calls -- are calls to Kernel.respond_to?.
A little digging later, and it looks like 98% of these calls -- or
more -- are in Marshal.dump. That's ... amazing.
-austin
--=20
Austin Ziegler * (e-mail address removed)
* Alternate: (e-mail address removed)