-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Merged
Merged
Update perf proj from arcade #38127
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9965784
Update perf proj from arcade
DrewScoggins 2fcb7b9
Add timeout for pr and internal jobs
DrewScoggins b2bc9a2
Change to a variable that is set
DrewScoggins ec3b233
Escape variable with single quotes
DrewScoggins 223d805
Change timeout from days to minutes
DrewScoggins e5ca09d
Fix typo
DrewScoggins 1257340
Change to default
DrewScoggins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,14 @@ | |
<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> | ||
|
@@ -113,23 +121,13 @@ | |
<!-- | ||
Partition the Microbenchmarks project, but nothing else | ||
--> | ||
<ItemGroup Condition="$(TargetCsproj.Contains('MicroBenchmarks.csproj')) and $($HelixSourcePrefix) == 'pr'"> | ||
<HelixWorkItem Include="@(Partition)"> | ||
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> | ||
<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>15</Timeout> | ||
</HelixWorkItem> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$(TargetCsproj.Contains('MicroBenchmarks.csproj')) and $($HelixSourcePrefix) == 'official'"> | ||
<ItemGroup Condition="$(TargetCsproj.Contains('MicroBenchmarks.csproj'))"> | ||
<HelixWorkItem Include="@(Partition)"> | ||
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory> | ||
<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>45</Timeout> | ||
<Timeout>$(WorkItemTimeout)</Timeout> | ||
</HelixWorkItem> | ||
</ItemGroup> | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: