Re: [Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Brian Granger
Hi, I think it may just be the built-in Python on Leopard: On OS X: In [1]: def f(): ...: for i in range(10): ...: a = 1 + i In [2]: %timeit f() 100 loops, best of 3: 11.8 ms per loop Same hardware, but Windows: In [1]: def f(): ...: for i in range(10): ...:

Re: [Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Jean-Paul Calderone
On Fri, 20 Feb 2009 11:11:24 -0800, Brian Granger wrote: Hi, We use Twisted extensively in the IPython project for parallel and distributed computing. We have an extensive test suite that uses trial to test our servers and clients. Everything works great...but...the test suite takes much lon

[Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Brian Granger
Hi, We use Twisted extensively in the IPython project for parallel and distributed computing. We have an extensive test suite that uses trial to test our servers and clients. Everything works great...but...the test suite takes much longer to run on OS X than windows. Here is what I mean: 1. 2