Message100434
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. |
|
Date |
User |
Action |
Args |
2010-03-04 23:14:46 | olivers | set | recipients:
+ olivers, michael.foord |
2010-03-04 23:14:46 | olivers | set | messageid: <1267744486.0.0.0927459766822.issue8064@psf.upfronthosting.co.za> |
2010-03-04 23:14:44 | olivers | link | issue8064 messages |
2010-03-04 23:14:44 | olivers | create | |
|