-
Notifications
You must be signed in to change notification settings - Fork 143
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
Enable PerformanceTests #882 #906
Enable PerformanceTests #882 #906
Conversation
@basilevs just in case you are interested, I could think about triggering a workflow by adding a label to a PR that then additionally executes the performance tests on demand. |
@laeubi that would be very nice indeed. I suspect this PR can't be used as test ground anyway because by default Github does not use workflows from unverified PRs. |
Yes one need to develop such workflow on the a fork as it requires to merge things to master (can be reset later on of course) and have additional permissions, but as you seem very enthusiastic on this maybe you like to go in that direction as well 👍 |
Even though I approved the Run it seems the Github actions failed to execute, do you like to take a look? |
I've missed a colon in step declaration. Would be nice to get an error from that. |
yes that a bit unfortunate but you should receive an email if there is a fatal error in the action, also you can edit the file with github UI and then gets a validation. |
@laeubi could you please mark my pull requests with performance label? |
95a4811
to
c288a29
Compare
c288a29
to
c5aa813
Compare
@basilevs have you tested this with your fork? I think even if I aprove the workflow run your changes are not picked up maybe because you are not a cmoitter on the repo. |
I'm still not sure it it breaks artifact collection. And something strange is going on with MacOS. |
API Tools fail the build. What is the workflow here? Last time I've tried to bump versions, it did not end well. On a positive note I see my additional step in the action logs. |
This means, this is first change in the release in this bundle but manifest version is not updated. |
No code was changed (the change modifies only .github directory). |
c5aa813
to
474ab5e
Compare
This works, but one test takes a a lot of time on MacOS. Looks like a performance bug. I've created #912 |
@akurtakov I see that performance test assertions were disabled three years ago. Now they can never fail. Should this be fixed? I assume lots of tests are using these assertions in vain now. |
@basilevs 3 years ago perf tests have been migrated from storing both (current and latest release) timings in a db (this database server was a nightmare to maintain and historical data with OS updates and etc. proved to be useless) to using the test files which contain timings to show the diffs in perfermance . This also degraded over time:
Long story short perf tests were running (minus infra/releng failures) till March this year . The way these perf tests worked was to run the same test twice - once with previous release and once with latest I-build and compare timings. The disabled assertions were actually failing based on "timing" criteria from DB content which as said previously is not that useful with fast changing environments nowadays. |
d7f2150
to
11bd208
Compare
Skipped the slow test on MacOS with |
cc9b54b
to
3f9c222
Compare
This run PerformanceTests in GitHub actions for pull requests labeled "performance". Note, that the event of labeling itself is not handled. This implementation implies a contributor will have to push something to PR after labeling to start tests.
3f9c222
to
158e4c6
Compare
@laeubi this works fine. Please merge. |
Enable PerformanceTests for Pull Requests labeled "performance".
See discussion on why tests can't be enabled on a permanent basis.