-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Wrong formula for percentual difference in profiling #46578
Comments
cms-bot internal usage |
A new Issue was created by @felicepantaleo. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign core |
New categories assigned: core @Dr15Jones,@makortel,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@gartung , can you please look in to this? |
@smuzaffar can profiling be run on the baseline release. Part of the problem is that the "baseline" in this instance is the profiling for the last IB. |
sorry @gartung , I did not get your point ? PR profiling job should use the same IB for which the the PR tests were run. |
I need to set the number of events to 100 and I wanted to avoid running that many for every IB. |
Step 1 and step 2 are run for each job so technically the input for step3 RECO is different. On average the results should be the same but not with the limited stats of 10 events. |
ah ok, I thought we were doign it already. Aren't we downloading baseline results during the PR profiling job here https://github.com/cms-sw/cms-bot/blob/master/pr_testing/run-pr-profiling.sh#L50-L54 and here https://github.com/cms-sw/cms-bot/blob/master/pr_testing/run-pr-profiling.sh#L98 ? |
No, it is pulling the data from the IB. |
sorry, can you please explain with an example e.g for |
shouldn't we just change https://github.com/cms-sw/cms-bot/blob/master/comparisons/resources-diff.py#L18-L19 to following?
|
Yes. I made that change and will submit a PR. |
cms-sw/cms-bot#2365 |
cms-sw/cms-bot#2365 is merged now. @gartung , please open a separate issue for #46578 (comment) |
+core |
@cmsbuild, please close |
This issue is fully signed and ready to be closed. |
It is calculated as
(PR-baseline)/PR
while it should be calculated as(PR-baseline)/baseline
. It is wrong in all the columnscpu time percent diff
,allocated memory percent diff
,deallocated memory percent diff
From a PR: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d4760a/42504/profiling/29834.21/diff-step3_cpu.resources.json.html
I see:
The text was updated successfully, but these errors were encountered: