-
Notifications
You must be signed in to change notification settings - Fork 2.1k
benchmark: increase process priority #3633
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
Conversation
✅ Deploy Preview for compassionate-pike-271cb3 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋 Supported commandsPlease post this commands in separate comments and only one per comment:
|
This comment has been minimized.
This comment has been minimized.
@yaacovCR Something went wrong, please check log. |
|
https://github.com/graphql/graphql-js/runs/6779810535?check_suite_focus=true#step:6:17
|
|
Not sure if sudo can help us here. if i were github actions, it wouldn't! |
|
@yaacovCR I tried it locally and it didn't work. |
|
sudo and setPriority seem to be working! although another erupts when writing for some reason... I can read more about affinity |
|
I am guessing when using a shell, piping via 3 does not work graphql-js/resources/benchmark.ts Line 408 in b91f51b
|
|
@yaacovCR You need to pass |
|
@yaacovCR Simpler solution would be to run the entire benchmark under sudo. |
That works for me. As a side note, I want to make sure this works cross platform. I would assume that ci would add sudo to the whole command and local users would be required to do so on their own or use the windows equivalent. |
to try to avoid involuntary context switches
This comment has been minimized.
This comment has been minimized.
@yaacovCR Something went wrong, please check log. |
This comment has been minimized.
This comment has been minimized.
@yaacovCR Something went wrong, please check log. |
@IvanGoncharov sudo on the benchmark was not working did not seem to pass through
This comment has been minimized.
This comment has been minimized.
@yaacovCR Something went wrong, please check log. |
Needs further research |
@yaacovCR Can I quickly try to run some experiments on top of your PR? |
Definitely. Good luck! |
|
Closing for now. Would be on wishlist to revisit in terms of our overall benchmarking picture. |
...to try to avoid involuntary context switches.
This seems to me to be pretty TETAW ("too easy to actually work").