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.00315 numpy strided: 0.007 numpy unaligned: 0.01252 numexpr: 0.00385 Speed-up of numexpr over numpy: 0.8182 numexpr strided: 0.00738 Speed-up of numexpr strided over numpy: 0.9485 numexpr unaligned: 0.00886 Speed-up of numexpr unaligned over numpy: 1.4131 ******************* Expression: i2 < 0 numpy: 0.00316 numpy strided: 0.00699 numpy unaligned: 0.01246 numexpr: 0.00377 Speed-up of numexpr over numpy: 0.8382 numexpr strided: 0.00742 Speed-up of numexpr strided over numpy: 0.942 numexpr unaligned: 0.00886 Speed-up of numexpr unaligned over numpy: 1.4063 ******************* Expression: i2 < f3 numpy: 0.00876 numpy strided: 0.01584 numpy unaligned: 0.02571 numexpr: 0.00821 Speed-up of numexpr over numpy: 1.067 numexpr strided: 0.01 Speed-up of numexpr strided over numpy: 1.584 numexpr unaligned: 0.01348 Speed-up of numexpr unaligned over numpy: 1.9073 ******************* Expression: i2-10 < f3 numpy: 0.01578 numpy strided: 0.02121 numpy unaligned: 0.03416 numexpr: 0.01004 Speed-up of numexpr over numpy: 1.5717 numexpr strided: 0.01181 Speed-up of numexpr strided over numpy: 1.7959 numexpr unaligned: 0.0153 Speed-up of numexpr unaligned over numpy: 2.2327 ******************* Expression: i2*f3+f3*f3 > i2 numpy: 0.05065 numpy strided: 0.06868 numpy unaligned: 0.09667 numexpr: 0.01507 Speed-up of numexpr over numpy: 3.361 numexpr strided: 0.01651 Speed-up of numexpr strided over numpy: 4.1599 numexpr unaligned: 0.02024 Speed-up of numexpr unaligned over numpy: 4.7762 ******************* Expression: 0.1*i2 > arctan2(i2, f3) numpy: 0.13315 numpy strided: 0.14904 numpy unaligned: 0.1584 numexpr: 0.10897 Speed-up of numexpr over numpy: 1.2219 numexpr strided: 0.11178 Speed-up of numexpr strided over numpy: 1.3333 numexpr unaligned: 0.1155 Speed-up of numexpr unaligned over numpy: 1.3714 ******************* Expression: i2%2 > 3 numpy: 0.03276 numpy strided: 0.03383 numpy unaligned: 0.04211 numexpr: 0.02611 Speed-up of numexpr over numpy: 1.2547 numexpr strided: 0.02713 Speed-up of numexpr strided over numpy: 1.247 numexpr unaligned: 0.03105 Speed-up of numexpr unaligned over numpy: 1.3562 ******************* Expression: i2%10 < 4 numpy: 0.03251 numpy strided: 0.03397 numpy unaligned: 0.04227 numexpr: 0.02618 Speed-up of numexpr over numpy: 1.2418 numexpr strided: 0.02714 Speed-up of numexpr strided over numpy: 1.2517 numexpr unaligned: 0.03103 Speed-up of numexpr unaligned over numpy: 1.3622 ******************* Expression: i2**2 + (f3+1)**-2.5 < 3 numpy: 0.32202 numpy strided: 0.32757 numpy unaligned: 0.34797 numexpr: 0.04053 Speed-up of numexpr over numpy: 7.9452 numexpr strided: 0.04199 Speed-up of numexpr strided over numpy: 7.8011 numexpr unaligned: 0.04577 Speed-up of numexpr unaligned over numpy: 7.6026 ******************* Expression: (f3+1)**50 > i2 numpy: 0.30238 numpy strided: 0.3119 numpy unaligned: 0.31825 numexpr: 0.03251 Speed-up of numexpr over numpy: 9.3011 numexpr strided: 0.02719 Speed-up of numexpr strided over numpy: 11.4711 numexpr unaligned: 0.04017 Speed-up of numexpr unaligned over numpy: 7.9226 ******************* Expression: sqrt(i2**2 + f3**2) > 1 numpy: 0.06747 numpy strided: 0.07415 numpy unaligned: 0.09568 numexpr: 0.02703 Speed-up of numexpr over numpy: 2.4961 numexpr strided: 0.02877 Speed-up of numexpr strided over numpy: 2.5773 numexpr unaligned: 0.0321 Speed-up of numexpr unaligned over numpy: 2.9807 ******************* Expression: (i2>2) | ((f3**2>3) & ~(i2*f3<2)) numpy: 0.05395 numpy strided: 0.06548 numpy unaligned: 0.08676 numexpr: 0.02541 Speed-up of numexpr over numpy: 2.1232 numexpr strided: 0.02681 Speed-up of numexpr strided over numpy: 2.4424 numexpr unaligned: 0.03101 Speed-up of numexpr unaligned over numpy: 2.7978 *************** TOTALS ************************** numpy total: 1.02574 numpy strided total: 1.11566 numpy unaligned total: 1.27296 numexpr total: 0.32768 Speed-up of numexpr over numpy: 3.13 numexpr strided total: 0.34393 Speed-up of numexpr strided over numpy: 3.244 numexpr unaligned total: 0.39337 Speed-up of numexpr unaligned over numpy: 3.236