Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No need to rebuild fedmsg.meta processors #341

Merged
merged 3 commits into from Jun 23, 2015

Conversation

ralphbean
Copy link
Contributor

...if they have already been built.

This gets the fedmsg_meta test suite running 31x faster. Compare before::

(fedmsg_meta)❯ time $(which nosetests) -x
Ran 3822 tests in 270.822s

OK (SKIP=1638)
----------------------------------------------------------------------
Success!
$(which nosetests) -x  267.30s user 1.32s system 98% cpu 4:33.53 total

And after::

(fedmsg_meta)❯ time $(which nosetests) -x
Ran 3822 tests in 5.982s

OK (SKIP=1638)
----------------------------------------------------------------------
Success!
$(which nosetests) -x  3.87s user 0.71s system 52% cpu 8.700 total

...if they have already been built.

This gets the fedmsg_meta test suite running 31x faster.  Compare before::

    (fedmsg_meta)❯ time $(which nosetests) -x                                                                      fedmsg_meta_fedora_infrastructure/git/develop
    Ran 3822 tests in 270.822s

    OK (SKIP=1638)
    ----------------------------------------------------------------------
    Success!
    $(which nosetests) -x  267.30s user 1.32s system 98% cpu 4:33.53 total

And after::

    (fedmsg_meta)❯ time $(which nosetests) -x                                                                      fedmsg_meta_fedora_infrastructure/git/develop
    Ran 3822 tests in 5.982s

    OK (SKIP=1638)
    ----------------------------------------------------------------------
    Success!
    $(which nosetests) -x  3.87s user 0.71s system 52% cpu 8.700 total
@pypingou
Copy link
Member

Neat and nice effect :) 👍

ralphbean added a commit that referenced this pull request Jun 23, 2015
No need to rebuild fedmsg.meta processors
@ralphbean ralphbean merged commit 4d41267 into develop Jun 23, 2015
@ralphbean ralphbean deleted the feature/no-need-to-rebuild branch June 23, 2015 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants