[Numpy-svn] [numpy/numpy] 265709: TST: speed up some very slow tests

GitHub noreply@github....
Thu Sep 26 22:30:58 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 2657098fb9d14087a7307c917029d7f911f6ef6d
      https://github.com/numpy/numpy/commit/2657098fb9d14087a7307c917029d7f911f6ef6d
  Author: Julian Taylor <jtaylor.debian@googlemail.com>
  Date:   2013-09-23 (Mon, 23 Sep 2013)

  Changed paths:
    M numpy/core/tests/test_multiarray.py
    M numpy/core/tests/test_scalarmath.py
    M numpy/core/tests/test_umath.py
    M numpy/testing/utils.py

  Log Message:
  -----------
  TST: speed up some very slow tests

Minimize alignment combinations to useful set with SSE, might need to
be revisited if we add AVX support.
Move large data test_zeros test to slow and drop the extremely slow
count_nonzero() call.
Rename gen_alignment_data to _gen_alignment_data (private) to reserve
right to change it, e.g. add min_size.


  Commit: 79d3a94f41b7e3c661eceed2f26ba6cce362ba4f
      https://github.com/numpy/numpy/commit/79d3a94f41b7e3c661eceed2f26ba6cce362ba4f
  Author: Julian Taylor <jtaylor.debian@googlemail.com>
  Date:   2013-09-23 (Mon, 23 Sep 2013)

  Changed paths:
    M numpy/testing/utils.py

  Log Message:
  -----------
  TST: delay error message building to failures in assert_almost_equal

improves test performance by about 15%


  Commit: 6fbbd7f248bfa808bfe659685cf31d79a2f897f9
      https://github.com/numpy/numpy/commit/6fbbd7f248bfa808bfe659685cf31d79a2f897f9
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M numpy/core/tests/test_multiarray.py
    M numpy/core/tests/test_scalarmath.py
    M numpy/core/tests/test_umath.py
    M numpy/testing/utils.py

  Log Message:
  -----------
  Merge pull request #3790 from juliantaylor/test-speedup

TST: speed up some very slow tests


Compare: https://github.com/numpy/numpy/compare/369f3019b6e1...6fbbd7f248bf


More information about the Numpy-svn mailing list