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

benchmark: replace failing on context switching with warning #3625

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

IvanGoncharov
Copy link
Member

Consequently failed measurements due to context switches are bad.
It mean something is bad with our setup:

  • Our test are taking too long to run (e.g. due to count being too
    big)
  • Machine that we measure on is doing some heave background task.
  • Some other factors, that are hard to predict.

Currently, it's easy to solve this issue locally just by disabling
background task on your machine, but it is non-trivial task to solve on
CI.

@netlify
Copy link

netlify bot commented Jun 2, 2022

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit f8c271a
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/629890719886c300098e269c
😎 Deploy Preview https://deploy-preview-3625--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@IvanGoncharov
Copy link
Member Author

cc: @yaacovCR

resources/benchmark.ts Outdated Show resolved Hide resolved
yaacovCR
yaacovCR previously approved these changes Jun 2, 2022
@yaacovCR yaacovCR dismissed their stale review June 2, 2022 10:22

Prettier

Consequently failed measurements due to context switches are bad.
It mean something is bad with our setup:
* Our test are taking too long to run (e.g. due to `count` being too
  big)
* Machine that we measure on is doing some heave background task.
* Some other factors, that are hard to predict.

Currently, it's easy to solve this issue locally just by disabling
background task on your machine, but it is non-trivial task to solve on
CI.
@IvanGoncharov IvanGoncharov merged commit baf9e4f into graphql:main Jun 2, 2022
@IvanGoncharov IvanGoncharov deleted the kindOnTypes branch June 2, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants