Skip to content

Disable sourcemaps during cancellationToken test#19505

Merged
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:disable-cancellation-token-sourcemaps
Oct 26, 2017
Merged

Disable sourcemaps during cancellationToken test#19505
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:disable-cancellation-token-sourcemaps

Conversation

@weswigham

Copy link
Copy Markdown
Member

Similarly to #19504, the cancellationToken suite intentionally throws many exceptions (in this case to test cancellation) - source map support on these exceptions is incredibly costly, so this disables sourcemap support on error messages for the duration of the test. This takes the suite runtime from 3s down to <300ms on my machine.

@weswigham weswigham merged commit 45684a8 into microsoft:master Oct 26, 2017
@weswigham weswigham deleted the disable-cancellation-token-sourcemaps branch October 26, 2017 21:21
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants