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

Improve AsyncPool.test.ts speed #345

Merged
merged 1 commit into from
Aug 1, 2018
Merged

Conversation

StephenWeatherford
Copy link
Contributor

No description provided.

arr.push(i);
}
for (let i = 0; i < 30000; i++) {
for (let i = 0; i < 300; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like some iterations were shrunk to 1/10, some to 1/2, and some to 1/100.
Was this from experimentation or heuristic that guided this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just getting them all to a reasonable time. Some have built-in delays.

@StephenWeatherford StephenWeatherford merged commit 6657cf4 into master Aug 1, 2018
@StephenWeatherford StephenWeatherford deleted the saw/async-speed branch August 1, 2018 19:44
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants