-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update perf proj from arcade #38127
Update perf proj from arcade #38127
Changes from 3 commits
9965784
2fcb7b9
b2bc9a2
ec3b233
223d805
e5ca09d
1257340
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,21 +64,54 @@ | |
<WorkItemCommand>$(WorkItemCommand) $(CliArguments)</WorkItemCommand> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$(HelixSourcePrefix) == 'pr'"> | ||
<WorkItemTimeout>15</WorkItemTimeout> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$(HelixSourcePrefix) == 'official'"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
<WorkItemTimeout>45</WorkItemTimeout> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)"> | ||
<PayloadDirectory>%(Identity)</PayloadDirectory> | ||
</HelixCorrelationPayload> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<PartitionCount>5</PartitionCount> | ||
<PartitionCount>30</PartitionCount> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Partition Include="$(BuildConfig).Partition0" Index="0" /> | ||
<Partition Include="$(BuildConfig).Partition1" Index="1" /> | ||
<Partition Include="$(BuildConfig).Partition2" Index="2" /> | ||
<Partition Include="$(BuildConfig).Partition3" Index="3" /> | ||
<Partition Include="$(BuildConfig).Partition4" Index="4" /> | ||
<Partition Include="$(BuildConfig).Partition5" Index="5" /> | ||
<Partition Include="$(BuildConfig).Partition6" Index="6" /> | ||
<Partition Include="$(BuildConfig).Partition7" Index="7" /> | ||
<Partition Include="$(BuildConfig).Partition8" Index="8" /> | ||
<Partition Include="$(BuildConfig).Partition9" Index="9" /> | ||
<Partition Include="$(BuildConfig).Partition10" Index="10" /> | ||
<Partition Include="$(BuildConfig).Partition11" Index="11" /> | ||
<Partition Include="$(BuildConfig).Partition12" Index="12" /> | ||
<Partition Include="$(BuildConfig).Partition13" Index="13" /> | ||
<Partition Include="$(BuildConfig).Partition14" Index="14" /> | ||
<Partition Include="$(BuildConfig).Partition15" Index="15" /> | ||
<Partition Include="$(BuildConfig).Partition16" Index="16" /> | ||
<Partition Include="$(BuildConfig).Partition17" Index="17" /> | ||
<Partition Include="$(BuildConfig).Partition18" Index="18" /> | ||
<Partition Include="$(BuildConfig).Partition19" Index="19" /> | ||
<Partition Include="$(BuildConfig).Partition20" Index="20" /> | ||
<Partition Include="$(BuildConfig).Partition21" Index="21" /> | ||
<Partition Include="$(BuildConfig).Partition22" Index="22" /> | ||
<Partition Include="$(BuildConfig).Partition23" Index="23" /> | ||
<Partition Include="$(BuildConfig).Partition24" Index="24" /> | ||
<Partition Include="$(BuildConfig).Partition25" Index="25" /> | ||
<Partition Include="$(BuildConfig).Partition26" Index="26" /> | ||
<Partition Include="$(BuildConfig).Partition27" Index="27" /> | ||
<Partition Include="$(BuildConfig).Partition28" Index="28" /> | ||
<Partition Include="$(BuildConfig).Partition29" Index="29" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Compare)' == 'true'"> | ||
|
@@ -94,7 +127,7 @@ | |
<PreCommands Condition="'$(Compare)' == 'true'">$(WorkItemCommand) --bdn-artifacts $(BaselineArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(BaselineCoreRunArgument) --partition-count $(PartitionCount) --partition-index %(HelixWorkItem.Index)"</PreCommands> | ||
<Command>$(WorkItemCommand) --bdn-artifacts $(ArtifactsDirectory) --bdn-arguments="--anyCategories $(BDNCategories) $(ExtraBenchmarkDotNetArguments) $(CoreRunArgument) --partition-count $(PartitionCount) --partition-index %(HelixWorkItem.Index)"</Command> | ||
<PostCommands Condition="'$(Compare)' == 'true'">$(DotnetExe) run -f $(_Framework) -p $(ResultsComparer) --base $(BaselineArtifactsDirectory) --diff $(ArtifactsDirectory) --threshold 2$(Percent) --xml $(XMLResults);$(FinalCommand)</PostCommands> | ||
<Timeout>4:00</Timeout> | ||
<Timeout>$(WorkItemTimeout)</Timeout> | ||
</HelixWorkItem> | ||
</ItemGroup> | ||
|
||
|
@@ -152,6 +185,11 @@ | |
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory> | ||
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen2\test.py crossgen2 --single System.Private.CoreLib.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command> | ||
</HelixWorkItem> | ||
<HelixWorkItem Include="Crossgen2 Composite Framework R2R"> | ||
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory> | ||
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen2\test.py crossgen2 --composite %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen2\framework-r2r.dll.rsp --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command> | ||
<Timeout>1:00</Timeout> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why 1 hour timeout? This leads to very long hangs blocking a machine for long periods of time. I also see the other workitems we send have 4 hours timeouts. Can we modify this for the purpose of PR runs? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For crossgen2 composite workitem, 1 hour timeout also takes care of CI runs where we run 5 iterations, while we only have 1 iteration for PR runs and each iteration takes ~8min. For the rest of the workitems we will be able to shorten the timeout once the partition is enabled. @DrewScoggins Do you have an estimate of the timeout value after partition? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the micro benchmarks we should be able to set the timeout to about 10 minutes once we get this partition change in. A run take about 3-5 minutes, but I want to leave some wiggle room. These are of course Helix timeouts. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, |
||
</HelixWorkItem> | ||
|
||
</ItemGroup> | ||
</Project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to also escape
$(HelixSourcePrefix)
for the comparison to be correct: