> -----Original Message----- > Could you try ccbench (*) under Windows? The only Windows system I have > here is > a qemu virtual machine and it wouldn't be very realistic to do > concurrency > measurements on it. > > (*) http://svn.python.org/view/sandbox/trunk/ccbench/
I´ve run it twice on my dual core machine. It hangs every time, but not in the same place: D:\pydev\python\trunk\PCbuild>python.exe \tmp\ccbench.py malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 --- Throughput --- Pi calculation (Python) threads=1: 514 iterations/s. threads=2: 403 ( 78 %) threads=3: 392 ( 76 %) threads=4: 364 ( 70 %) regular expression (C) threads=1: 443 iterations/s. threads=2: 474 ( 106 %) threads=3: 461 ( 104 %) threads=4: 466 ( 105 %) SHA1 hashing (C) threads=1: 983 iterations/s. threads=2: 1026 ( 104 %) ^C D:\pydev\python\trunk\PCbuild>python.exe \tmp\ccbench.py malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 malloc 262144 gave 262144, diff 0 --- Throughput --- Pi calculation (Python) threads=1: 506 iterations/s. threads=2: 405 ( 80 %) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com