Concerns about performance w/Python, Pysco on Pentiums

Skip Montanaro skip at pobox.com
Thu Mar 6 11:03:16 EST 2003


    Gerhard> Peter Hansen <peter at engcorp.com> wrote:
    >> Not knowing that much about Linux I'd be at a loss to do this on my
    >> own.  Any suggestions for where to look?  (And I'm just going to
    >> assume outright that it's infeasible under Win98. :-)

    Gerhard> The tools I proposed do little else than query CPU-specific
    Gerhard> performance registers. 

Jeremy Hylton created a patch for the Python virtual machine (floating
around the SF patch subsystem somewhere) which does something similar for
just Python programs.  It gives you an idea how many clock cycles each
virtual machine instruction consumes.  You might find it useful.

Skip





More information about the Python-list mailing list