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

Less re-rendering with progress reporter #1151

Merged
merged 1 commit into from
Jul 17, 2014
Merged

Conversation

Connorhd
Copy link
Contributor

With a large number of small tests a significant portion of the testing time is simply re-rendering the progress bar, this only re-renders the progress bar if the progress has changed.

With a large number of small tests a significant portion of the testing time is simply re-rendering the progress bar, this only re-renders the progress bar if the progress has changed.
@jbnicolai
Copy link

Is this actually a problem you're having? Seems surprising, but I'd be happy to merge it.

@Connorhd
Copy link
Contributor Author

It is, I have around 13,000 simple tests (a lot of this is testing calculations against reference data). Without this change the progress bar slows down the tests and flickers a lot while the tests run.

@jbnicolai
Copy link

Alright, thanks for the pull request - appreciate it! 👍

jbnicolai pushed a commit that referenced this pull request Jul 17, 2014
Less re-rendering with progress reporter
@jbnicolai jbnicolai merged commit fa11afc into mochajs:master Jul 17, 2014
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.

2 participants