Re: psyco V2 beta2 benchmark
larudwer, is that time_subdist subdist(i) a bad worsening? Something to be fixed in Psyco2? Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list
Re: psyco V2 beta2 benchmark
On 10 Jul, 04:54, Zac Burns zac...@gmail.com wrote: Where do you get this beta? I heard that Psyco V2 is coming out but can't find anything on their site to support this. I found the Subversion repository from the Psyco site: http://psyco.sourceforge.net/ - http://codespeak.net/svn/psyco/dist/ - http://codespeak.net/svn/psyco/v2/ It's not widely advertised, but I imagine that this is the correct repository. Navigating around on the codespeak.net site took me to the ViewVC instance which gives some date/time information that would confirm my suspicions: https://codespeak.net/viewvc/psyco/ A log of the development can be viewed here: https://codespeak.net/viewvc/psyco/v2/dist/?view=log Paul -- http://mail.python.org/mailman/listinfo/python-list
Re: psyco V2 beta2 benchmark
Where do you get this beta? I heard that Psyco V2 is coming out but can't find anything on their site to support this. -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer (Digital Overlord) Zindagi Games On Sat, Jul 4, 2009 at 5:26 AM, larudwerlarud...@freenet.de wrote: just out of curiosity i've downloaded the latest Version of Psyco V2 Beta 2 and run the benchmarks against the old Version of psyco 1.6 Because it might be of common interest, i am posting the results here. My machine is a Pentium D 3.2 Ghz running Windows XP SP 3 and Python 2.6.2. Psyco V2 was built with 4.3.3-tdm-1 mingw32 with optimisation flags changed to -O3 Benchmark | avg. Base time | psyco 1.6 time | psyco 2.0 time | ratio | possible error +- time_anyall all_bool_genexp | 2.270 | 2.250 | 2.420 | 0.930 | 8.3 % time_anyall all_bool_listcomp | 3.450 | 1.900 | 1.910 | 0.995 | 0.0 % time_anyall all_genexp | 1.970 | 1.940 | 2.160 | 0.898 | 9.6 % time_anyall all_listcomp | 3.485 | 1.660 | 1.660 | 1.000 | 1.4 % time_anyall all_loop | 0.665 | 0.090 | 0.090 | 1.000 | 4.4 % time_anyall any_bool_genexp | 2.215 | 2.130 | 2.340 | 0.910 | 10.0 % time_anyall any_bool_listcomp | 3.620 | 1.930 | 1.940 | 0.995 | 9.0 % time_anyall any_genexp | 1.985 | 1.920 | 2.180 | 0.881 | 10.1 % time_anyall any_listcomp | 3.360 | 1.680 | 1.680 | 1.000 | 8.0 % time_anyall any_loop | 0.660 | 0.090 | 0.090 | 1.000 | 3.0 % time_builtins chr(i) | 2.420 | 0.010 | 0.010 | 1.000 | 0.0 % time_builtins hash(i) | 1.280 | 0.370 | 0.080 | 4.625 | 8.1 % time_builtins int(round(f)) | 2.635 | 1.510 | 1.120 | 1.348 | 0.4 % time_builtins min | 0.535 | 0.520 | 0.120 | 4.333 | 1.9 % time_builtins min_kw | 4.430 | 4.400 | 0.160 | 27.500 | 0.5 % time_builtins ord(i) | 0.320 | 0.000 | 0.000 | 1.000 | 6.5 % time_builtins pow | 0.345 | 0.230 | 0.150 | 1.533 | 2.9 % time_builtins reduce | 0.735 | 0.710 | 0.020 | 35.498 | 1.4 % time_builtins round(f) | 1.720 | 0.890 | 0.400 | 2.225 | 1.2 % time_builtins sums | 0.180 | 0.180 | 0.100 | 1.800 | 0.0 % time_fib matrix | 0.425 | 0.360 | 0.360 | 1.000 | 2.3 % time_fib recursive | 0.000 | 0.000 | 0.000 | 1.000 | 0.0 % time_fib takahashi | 0.410 | 0.320 | 0.330 | 0.970 | 0.0 % time_generators call next just many times | 0.900 | 0.630 | 0.970 | 0.649 | 4.3 % time_generators iterate just many times | 0.660 | 0.550 | 0.950 | 0.579 | 3.1 % time_generators send and loop 1000 | 2.805 | 2.540 | 0.060 | 42.333 | 9.8 % time_generators send call loop 1000 | 2.505 | 2.940 | 0.060 | 48.999 | 10.9 % time_generators send just many times | 1.280 | 0.590 | 0.980 | 0.602 | 3.1 % time_iter iter | 1.490 | 0.590 | 0.440 | 1.341 | 5.5 % time_math floats | 2.910 | 1.500 | 1.630 | 0.920 | 0.7 % time_properties method_get | 0.935 | 0.120 | 0.130 | 0.923 | 1.1 % time_properties method_set | 1.005 | 0.170 | 0.180 | 0.944 | 1.0 % time_properties property_get | 0.960 | 0.740 | 0.100 | 7.400 | 2.1 % time_properties property_set | 1.020 | 0.920 | 0.930 | 0.989 | 0.0 % time_properties pyproperty_get | 1.535 | 1.310 | 0.140 | 9.357 | 0.7 % time_properties pyproperty_set | 1.030 | 0.920 | 0.930 | 0.989 | 2.0 % time_subdist subdist(i) | 3.665 | 1.640 | 6.140 | 0.267 | 0.8 % time_sums rounding | 0.800 | 0.790 | 0.810 | 0.975 | 2.5 % Running new timings with C:\Programme\GNU\python26\lib\site-packages\psyco\_psyco.pyd Sat Jul 04 12:09:07 2009 time_anyall : all_bool_genexp plain:
psyco V2 beta2 benchmark
just out of curiosity i've downloaded the latest Version of Psyco V2 Beta 2 and run the benchmarks against the old Version of psyco 1.6 Because it might be of common interest, i am posting the results here. My machine is a Pentium D 3.2 Ghz running Windows XP SP 3 and Python 2.6.2. Psyco V2 was built with 4.3.3-tdm-1 mingw32 with optimisation flags changed to -O3 Benchmark | avg. Base time | psyco 1.6 time | psyco 2.0 time | ratio | possible error +- time_anyall all_bool_genexp | 2.270 | 2.250 | 2.420 | 0.930 | 8.3 % time_anyall all_bool_listcomp | 3.450 | 1.900 | 1.910 | 0.995 | 0.0 % time_anyall all_genexp| 1.970 | 1.940 | 2.160 | 0.898 | 9.6 % time_anyall all_listcomp | 3.485 | 1.660 | 1.660 | 1.000 | 1.4 % time_anyall all_loop | 0.665 | 0.090 | 0.090 | 1.000 | 4.4 % time_anyall any_bool_genexp | 2.215 | 2.130 | 2.340 | 0.910 | 10.0 % time_anyall any_bool_listcomp | 3.620 | 1.930 | 1.940 | 0.995 | 9.0 % time_anyall any_genexp| 1.985 | 1.920 | 2.180 | 0.881 | 10.1 % time_anyall any_listcomp | 3.360 | 1.680 | 1.680 | 1.000 | 8.0 % time_anyall any_loop | 0.660 | 0.090 | 0.090 | 1.000 | 3.0 % time_builtins chr(i) | 2.420 | 0.010 | 0.010 | 1.000 | 0.0 % time_builtins hash(i) | 1.280 | 0.370 | 0.080 | 4.625 | 8.1 % time_builtins int(round(f)) | 2.635 | 1.510 | 1.120 | 1.348 | 0.4 % time_builtins min | 0.535 | 0.520 | 0.120 | 4.333 | 1.9 % time_builtins min_kw | 4.430 | 4.400 | 0.160 | 27.500| 0.5 % time_builtins ord(i) | 0.320 | 0.000 | 0.000 | 1.000 | 6.5 % time_builtins pow | 0.345 | 0.230 | 0.150 | 1.533 | 2.9 % time_builtins reduce | 0.735 | 0.710 | 0.020 | 35.498| 1.4 % time_builtins round(f)| 1.720 | 0.890 | 0.400 | 2.225 | 1.2 % time_builtins sums| 0.180 | 0.180 | 0.100 | 1.800 | 0.0 % time_fib matrix | 0.425 | 0.360 | 0.360 | 1.000 | 2.3 % time_fib recursive| 0.000 | 0.000 | 0.000 | 1.000 | 0.0 % time_fib takahashi| 0.410 | 0.320 | 0.330 | 0.970 | 0.0 % time_generators call next just many times | 0.900 | 0.630 | 0.970 | 0.649 | 4.3 % time_generators iterate just many times | 0.660 | 0.550 | 0.950 | 0.579 | 3.1 % time_generators send and loop 1000| 2.805 | 2.540 | 0.060 | 42.333| 9.8 % time_generators send call loop 1000 | 2.505 | 2.940 | 0.060 | 48.999| 10.9 % time_generators send just many times | 1.280 | 0.590 | 0.980 | 0.602 | 3.1 % time_iter iter| 1.490 | 0.590 | 0.440 | 1.341 | 5.5 % time_math floats | 2.910 | 1.500 | 1.630 | 0.920 | 0.7 % time_properties method_get| 0.935 | 0.120 | 0.130 | 0.923 | 1.1 % time_properties method_set| 1.005 | 0.170 | 0.180 | 0.944 | 1.0 % time_properties property_get | 0.960 | 0.740 | 0.100 | 7.400 | 2.1 % time_properties property_set | 1.020 | 0.920 | 0.930 | 0.989 | 0.0 % time_properties pyproperty_get| 1.535 | 1.310 | 0.140 | 9.357 | 0.7 % time_properties pyproperty_set| 1.030 | 0.920 | 0.930 | 0.989 | 2.0 % time_subdist subdist(i) | 3.665 | 1.640 | 6.140 | 0.267 | 0.8 % time_sums rounding| 0.800 | 0.790 | 0.810 | 0.975 | 2.5 % Running new timings with C:\Programme\GNU\python26\lib\site-packages\psyco\_psyco.pyd Sat Jul 04 12:09:07 2009 time_anyall: all_bool_genexpplain: 2.36 psyco: 2.42 ratio: 0.97 time_anyall: all_bool_listcomp plain: 3.45 psyco: 1.91 ratio: 1.80 time_anyall: all_genexp plain: 2.06 psyco: 2.16 ratio: 0.95 time_anyall: all_listcomp plain: 3.51 psyco: 1.66 ratio: 2.11