Re: [Python-Dev] Slides from today's parallel/async Python talk

2013-03-21 Thread Baptiste Lepilleur
2013/3/15 Trent Nelson > On Thu, Mar 14, 2013 at 03:50:27PM -0700, "Martin v. Löwis" wrote: > > Am 14.03.13 12:59, schrieb Stefan Ring: > > > I think you should be able to just take the address of a static > > > __thread variable to achieve the same thing in a more portable way. > > > > That assu

Re: [Python-Dev] __file__ is not always an absolute path

2010-02-17 Thread Baptiste Lepilleur
I did some quick measures out of curiosity. Performances seems clearly filesystem and O.S. dependent (and are likely deployment/configuration dependent). I did each test 3 times to ensure measure where consistent. Tests were done with ActivePython 2.6.3.7. * AIX 5.3: python26 -m timeit -s 'def f(

Re: [Python-Dev] Reworking the GIL

2009-11-08 Thread Baptiste Lepilleur
2009/11/7 Antoine Pitrou > > Hello again, > > > It shows that, on my platform for this specific benchmark: > > * newgil manage to leverage a significant amount of parallelism > > (1.7) where python 3.1 does not (3.1 is 80% slower) > > I think you are mistaken: > > -j0 (main thread

Re: [Python-Dev] Reworking the GIL

2009-11-07 Thread Baptiste Lepilleur
2009/11/7 Antoine Pitrou > > [...] > So, to sum it up, the way the current GIL manages to have good latencies is > by > issueing an unreasonable number of system calls on a contended lock, and > potentially killing throughput performance (this depends on the OS too, > because > numbers under Linu

Re: [Python-Dev] Reworking the GIL

2009-11-07 Thread Baptiste Lepilleur
Hi Antoine, I was finally able to compile py3k and run the benchmark (my compilation issue was caused by checking out on Windows and compiling on Unix. Some Makefile templates are missing correct EOL properties in SVN I think). The benchmark results can be obtained from: http://gaiacrtn.free.fr/py