Skip to content

Tests: Reduce CPU usage in watch mode#3011

Merged
marvinhagemeister merged 1 commit intomasterfrom
karma-esbuild-update
Feb 13, 2021
Merged

Tests: Reduce CPU usage in watch mode#3011
marvinhagemeister merged 1 commit intomasterfrom
karma-esbuild-update

Conversation

@marvinhagemeister
Copy link
Copy Markdown
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
Copy Markdown

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