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

Tests: Reduce CPU usage in watch mode #3011

Merged
merged 1 commit into from
Feb 13, 2021
Merged

Conversation

marvinhagemeister
Copy link
Member

@marvinhagemeister marvinhagemeister commented Feb 13, 2021

This PR addresses a performance problem found in karma-esbuild where we were spawning more esbuild instances than needed. The new version of karma-esbuild switches back to chokidar for file watching as it consumes significantly less CPU resources due to relying on native filesystem events instead of a generic polling approach like in esbuild.

See marvinhagemeister/karma-esbuild#4 for more information.

@coveralls
Copy link

coveralls commented Feb 13, 2021

Coverage Status

Coverage remained the same at 99.445% when pulling 13468ee on karma-esbuild-update into 6c263a8 on master.

@marvinhagemeister marvinhagemeister merged commit afe46b4 into master Feb 13, 2021
@marvinhagemeister marvinhagemeister deleted the karma-esbuild-update branch February 13, 2021 18:11
This was referenced Mar 15, 2021
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.

3 participants