Skip to content

Commit d6223ad

Browse files
authored
Add crossgen2 runs for x86 (#58053)
* Add crossgen2 runs for x86 and Arm64 * Remove Arm64 for now
1 parent 7571649 commit d6223ad

File tree

2 files changed

+38
-6
lines changed

2 files changed

+38
-6
lines changed

eng/pipelines/coreclr/perf_slow.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,37 @@ jobs:
195195
projectFile: microbenchmarks.proj
196196
runKind: micro
197197
runJobTemplate: /eng/pipelines/coreclr/templates/run-performance-job.yml
198-
logicalmachine: 'perfsurf'
198+
logicalmachine: 'perfsurf'
199199

200+
# Uncomment once we fix https://github.com/dotnet/performance/issues/1950
201+
# # run coreclr linux crossgen perf job
202+
# - template: /eng/pipelines/common/platform-matrix.yml
203+
# parameters:
204+
# jobTemplate: /eng/pipelines/coreclr/templates/perf-job.yml
205+
# buildConfig: release
206+
# runtimeFlavor: coreclr
207+
# platforms:
208+
# - Linux_arm64
209+
# jobParameters:
210+
# testGroup: perf
211+
# liveLibrariesBuildConfig: Release
212+
# projectFile: crossgen_perf.proj
213+
# runKind: crossgen_scenarios
214+
# runJobTemplate: /eng/pipelines/coreclr/templates/run-scenarios-job.yml
215+
# logicalmachine: 'perfa64'
216+
217+
# # run coreclr windows crossgen perf job
218+
# - template: /eng/pipelines/common/platform-matrix.yml
219+
# parameters:
220+
# jobTemplate: /eng/pipelines/coreclr/templates/perf-job.yml
221+
# buildConfig: release
222+
# runtimeFlavor: coreclr
223+
# platforms:
224+
# - windows_arm64
225+
# jobParameters:
226+
# testGroup: perf
227+
# liveLibrariesBuildConfig: Release
228+
# projectFile: crossgen_perf.proj
229+
# runKind: crossgen_scenarios
230+
# runJobTemplate: /eng/pipelines/coreclr/templates/run-scenarios-job.yml
231+
# logicalmachine: 'perfsurf'

eng/testing/performance/crossgen_perf.proj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</ItemGroup>
6060

6161
<ItemGroup>
62-
<Crossgen2SizeOnDiskWorkItem Include="@(SingleAssembly)" Condition="'$(Architecture)' == 'x64'">
62+
<Crossgen2SizeOnDiskWorkItem Include="@(SingleAssembly)">
6363
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
6464
<PreCommands>$(Python) $(Crossgen2Directory)pre.py crossgen2 --core-root $(CoreRoot) --single %(Identity) </PreCommands>
6565
<Command>$(Python) $(Crossgen2Directory)test.py sod --scenario-name &quot;Crossgen2 %(Identity) Size&quot; --dirs ./crossgen.out/</Command>
@@ -69,18 +69,18 @@
6969

7070
<ItemGroup>
7171
<!-- Enable crossgen2 tests on Windows x64 and Linux x64 -->
72-
<HelixWorkItem Include="@(Crossgen2WorkItem -> 'Crossgen2 %(Identity)')" Condition="'$(Architecture)' == 'x64'">
72+
<HelixWorkItem Include="@(Crossgen2WorkItem -> 'Crossgen2 %(Identity)')">
7373
<Timeout>4:00</Timeout>
7474
</HelixWorkItem>
75-
<HelixWorkItem Include="@(Crossgen2SingleThreadedWorkItem -> 'Crossgen2 single-threaded %(Identity)')" Condition="'$(Architecture)' == 'x64'">
75+
<HelixWorkItem Include="@(Crossgen2SingleThreadedWorkItem -> 'Crossgen2 single-threaded %(Identity)')">
7676
<Timeout>4:00</Timeout>
7777
</HelixWorkItem>
78-
<HelixWorkItem Include="Crossgen2 Composite Framework R2R" Condition="'$(Architecture)' == 'x64'">
78+
<HelixWorkItem Include="Crossgen2 Composite Framework R2R">
7979
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
8080
<Command>$(Python) $(Crossgen2Directory)test.py crossgen2 --core-root $(CoreRoot) --composite $(Crossgen2Directory)framework-r2r.dll.rsp</Command>
8181
<Timeout>1:00</Timeout>
8282
</HelixWorkItem>
83-
<HelixWorkItem Include="@(Crossgen2SizeOnDiskWorkItem -> 'Crossgen2 Size on Disk %(Identity)')" Condition="'$(Architecture)' == 'x64'">
83+
<HelixWorkItem Include="@(Crossgen2SizeOnDiskWorkItem -> 'Crossgen2 Size on Disk %(Identity)')">
8484
<Timeout>4:00</Timeout>
8585
</HelixWorkItem>
8686
</ItemGroup>

0 commit comments

Comments
 (0)