This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author olivers
Recipients michael.foord, olivers
Date 2010-03-04.23:14:43
SpamBayes Score 2.6037795e-05
Marked as misclassified No
Message-id <1267744486.0.0.0927459766822.issue8064@psf.upfronthosting.co.za>
In-reply-to
Content
The code in regextest.py (attached) uses a large regex to analyze a piece of text. I have tried this test program on two Macs, using the standard Python distributions.

On a MacBook, 2.4 GHz dual core, Snow Leopard with Python 2.6.1, it takes 0.08 seconds
On a MacPro, 2.something GHz 8 core, Leopard with Python 2.5.1, it takes 0.09 seconds

Now I've also tried it on several Linux machines, all of them running Ubuntu. They are all extremely slow. The machine I've been testing with now is a 2.0 GHz dual core machine with Python 2.5.2. A test run of the program takes 97.5 (that's not a typo) seconds on this machine, 1200 times as long as on the Macs.
History
Date User Action Args
2010-03-04 23:14:46oliverssetrecipients: + olivers, michael.foord
2010-03-04 23:14:46oliverssetmessageid: <1267744486.0.0.0927459766822.issue8064@psf.upfronthosting.co.za>
2010-03-04 23:14:44oliverslinkissue8064 messages
2010-03-04 23:14:44oliverscreate