Python version: 2.5 (r25:51908, Nov 3 2006, 12:01:01) [GCC 4.0.2 20050901 (prerelease) (SUSE Linux)] NumPy version: 1.0.3 ******************* Expression: i2 > 0 numpy: 0.00318 numpy strided: 0.00695 numpy unaligned: 0.01249 numexpr: 0.02332 Speed-up of numexpr over numpy: 0.1364 numexpr strided: 0.02728 Speed-up of numexpr strided over numpy: 0.2548 numexpr unaligned: 0.02604 Speed-up of numexpr unaligned over numpy: 0.4796 ******************* Expression: i2 < 0 numpy: 0.00309 numpy strided: 0.00698 numpy unaligned: 0.01153 numexpr: 0.02358 Speed-up of numexpr over numpy: 0.131 numexpr strided: 0.02708 Speed-up of numexpr strided over numpy: 0.2578 numexpr unaligned: 0.02599 Speed-up of numexpr unaligned over numpy: 0.4436 ******************* Expression: i2 < f3 numpy: 0.00872 numpy strided: 0.01488 numpy unaligned: 0.02254 numexpr: 0.02757 Speed-up of numexpr over numpy: 0.3163 numexpr strided: 0.03473 Speed-up of numexpr strided over numpy: 0.4284 numexpr unaligned: 0.04398 Speed-up of numexpr unaligned over numpy: 0.5125 ******************* Expression: i2-10 < f3 numpy: 0.01517 numpy strided: 0.02121 numpy unaligned: 0.0332 numexpr: 0.02946 Speed-up of numexpr over numpy: 0.5149 numexpr strided: 0.0375 Speed-up of numexpr strided over numpy: 0.5656 numexpr unaligned: 0.04521 Speed-up of numexpr unaligned over numpy: 0.7344 ******************* Expression: i2*f3+f3*f3 > i2 numpy: 0.05012 numpy strided: 0.06811 numpy unaligned: 0.09033 numexpr: 0.0344 Speed-up of numexpr over numpy: 1.457 numexpr strided: 0.04196 Speed-up of numexpr strided over numpy: 1.6232 numexpr unaligned: 0.04948 Speed-up of numexpr unaligned over numpy: 1.8256 ******************* Expression: 0.1*i2 > arctan2(i2, f3) numpy: 0.13276 numpy strided: 0.14845 numpy unaligned: 0.15729 numexpr: 0.12835 Speed-up of numexpr over numpy: 1.0344 numexpr strided: 0.1368 Speed-up of numexpr strided over numpy: 1.0852 numexpr unaligned: 0.14563 Speed-up of numexpr unaligned over numpy: 1.0801 ******************* Expression: i2%2 > 3 numpy: 0.03263 numpy strided: 0.03386 numpy unaligned: 0.04204 numexpr: 0.06113 Speed-up of numexpr over numpy: 0.5338 numexpr strided: 0.06615 Speed-up of numexpr strided over numpy: 0.5119 numexpr unaligned: 0.06473 Speed-up of numexpr unaligned over numpy: 0.6495 ******************* Expression: i2%10 < 4 numpy: 0.0327 numpy strided: 0.03373 numpy unaligned: 0.04215 numexpr: 0.06154 Speed-up of numexpr over numpy: 0.5314 numexpr strided: 0.06539 Speed-up of numexpr strided over numpy: 0.5158 numexpr unaligned: 0.06492 Speed-up of numexpr unaligned over numpy: 0.6493 ******************* Expression: i2**2 + (f3+1)**-2.5 < 3 numpy: 0.32493 numpy strided: 0.33087 numpy unaligned: 0.35109 numexpr: 0.05999 Speed-up of numexpr over numpy: 5.4164 numexpr strided: 0.06683 Speed-up of numexpr strided over numpy: 4.9509 numexpr unaligned: 0.07455 Speed-up of numexpr unaligned over numpy: 4.7095 ******************* Expression: (f3+1)**50 > i2 numpy: 0.30474 numpy strided: 0.31431 numpy unaligned: 0.3192 numexpr: 0.05154 Speed-up of numexpr over numpy: 5.9127 numexpr strided: 0.06164 Speed-up of numexpr strided over numpy: 5.0991 numexpr unaligned: 0.06035 Speed-up of numexpr unaligned over numpy: 5.2891 ******************* Expression: sqrt(i2**2 + f3**2) > 1 numpy: 0.06741 numpy strided: 0.07349 numpy unaligned: 0.09405 numexpr: 0.04676 Speed-up of numexpr over numpy: 1.4416 numexpr strided: 0.05361 Speed-up of numexpr strided over numpy: 1.3708 numexpr unaligned: 0.0615 Speed-up of numexpr unaligned over numpy: 1.5293 ******************* Expression: (i2>2) | ((f3**2>3) & ~(i2*f3<2)) numpy: 0.05085 numpy strided: 0.06494 numpy unaligned: 0.08386 numexpr: 0.04527 Speed-up of numexpr over numpy: 1.1233 numexpr strided: 0.05323 Speed-up of numexpr strided over numpy: 1.22 numexpr unaligned: 0.06087 Speed-up of numexpr unaligned over numpy: 1.3777 *************** TOTALS ************************** numpy total: 1.0263 numpy strided total: 1.11778 numpy unaligned total: 1.25977 numexpr total: 0.59291 Speed-up of numexpr over numpy: 1.731 numexpr strided total: 0.6722 Speed-up of numexpr strided over numpy: 1.663 numexpr unaligned total: 0.72325 Speed-up of numexpr unaligned over numpy: 1.742