Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • If tis is perl 5.10.0, CAG, and many other things suffer from a bug in perl when assigning @_, like a %40-50 decrease in performance.

    That prompted me to work around the issue and go one step further, squeeze as much out of CAg as I can with my limited knowledge.

    Not released yet, but here's the numbers from last night:


    CURRENT VERSION:

    Benchmark: running get_foo, get_inherited_class, get_inherited_object, get_simple, set_foo, set_inherited_class, set_inherited_object, set_simple for at least 3 CPU seconds...
          get_foo: 3 wallclock secs ( 3.01 usr + 0.02 sys = 3.03 CPU) @ 612308.25/s (n=1855294)
    get_inherited_class: 3 wallclock secs ( 3.15 usr + 0.02 sys = 3.17 CPU) @ 207205.36/s (n=656841)
    get_inherited_object: 3 wallclock secs ( 3.14 usr + 0.02 sys = 3.16 CPU) @ 160767.72/s (n=508026)
    get_simple: 2 wallclock secs ( 3.32 usr + 0.01 sys = 3.33 CPU) @ 1446515.02/s (n=4816895)
          set_foo: 2 wallclock secs ( 3.00 usr + 0.01 sys = 3.01 CPU) @ 540478.41/s (n=1626840)
    set_inherited_class: 3 wallclock secs ( 3.00 usr + 0.02 sys = 3.02 CPU) @ 615212.58/s (n=1857942)
    set_inherited_object: 3 wallclock secs ( 2.98 usr + 0.02 sys = 3.00 CPU) @ 597675.67/s (n=1793027)
    set_simple: 4 wallclock secs ( 3.17 usr + 0.02 sys = 3.19 CPU) @ 1158235.74/s (n=3694772)

    DEV VERSION:

    Benchmark: running get_foo, get_inherited_class, get_inherited_object, get_simple, set_foo, set_inherited_class, set_inherited_object, set_simple for at least 3 CPU seconds...
          get_foo: 4 wallclock secs ( 3.29 usr + 0.02 sys = 3.31 CPU) @ 944515.11/s (n=3126345)
    get_inherited_class: 3 wallclock secs ( 3.14 usr + 0.00 sys = 3.14 CPU) @ 224126.43/s (n=703757)
    get_inherited_object: 3 wallclock secs ( 3.14 usr + 0.01 sys = 3.15 CPU) @ 172029.84/s (n=541894)
    get_simple: 2 wallclock secs ( 3.14 usr + 0.01 sys = 3.15 CPU) @ 2345890.48/s (n=7389555)
          set_foo: 3 wallclock secs ( 3.07 usr + 0.02 sys = 3.09 CPU) @ 939491.91/s (n=2903030)
    set_inherited_class: 4 wallclock secs ( 3.04 usr + 0.02 sys = 3.06 CPU) @ 779833.33/s (n=2386290)
    set_inherited_object: 2 wallclock secs ( 3.02 usr + 0.01 sys = 3.03 CPU) @ 691498.35/s (n=2095240)
    set_simple: 3 wallclock secs ( 3.05 usr + 0.01 sys = 3.06 CPU) @ 1785796.08/s (n=5464536)


    I need to test against my FBSD 5.8.8 and 5.10, and I want to see if it improves DBIC test times at all. Hopefully will get a dev release out tomorow night.