[Checkins] [zopefoundation/zope.testrunner] 6e0c72: More efficient test filtering

GitHub noreply at github.com
Thu Apr 30 20:59:23 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testrunner
  Commit: 6e0c721c09b73213e265eb383a487d86a8fbabf4
      https://github.com/zopefoundation/zope.testrunner/commit/6e0c721c09b73213e265eb383a487d86a8fbabf4
  Author: Andrey Lebedev <andrey at lebedev.lt>
  Date:   2015-04-30 (Thu, 30 Apr 2015)

  Changed paths:
    M CHANGES.rst
    M src/zope/testrunner/find.py

  Log Message:
  -----------
  More efficient test filtering

On projects with large number of tests, zope.testrunner test filtering
feature performed very poorly, especially with lots of filtering
options.

For example, in a project, containing about 3000 tests, it took about
1:11 minutes to collect (not execute) tests, specified in 170 -t options
on command line. Time grows linearly with number of -t options.

This patch removes this ineffeciency (and brings collection time down to
about 3s).


  Commit: 6a17b72cad579dc83bb63c87ba81799a913b47f2
      https://github.com/zopefoundation/zope.testrunner/commit/6a17b72cad579dc83bb63c87ba81799a913b47f2
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-30 (Thu, 30 Apr 2015)

  Changed paths:
    M CHANGES.rst
    M src/zope/testrunner/find.py

  Log Message:
  -----------
  Merge pull request #26 from Shoobx/fast-filtering

More efficient test filtering


Compare: https://github.com/zopefoundation/zope.testrunner/compare/5630082b1725...6a17b72cad57


More information about the checkins mailing list