Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
runtime
提交
5a76f8c2
R
runtime
项目概览
dotNET Platform
/
runtime
大约 1 年 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5a76f8c2
编写于
8月 05, 2022
作者:
A
Ankit Jain
提交者:
GitHub
8月 05, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
runtime-wasm-perf: add support for running against forks, and branches (#73105)
上级
421a9cf4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
36 addition
and
4 deletion
+36
-4
eng/pipelines/coreclr/perf-wasm-jobs.yml
eng/pipelines/coreclr/perf-wasm-jobs.yml
+6
-0
eng/pipelines/coreclr/templates/perf-job.yml
eng/pipelines/coreclr/templates/perf-job.yml
+10
-1
eng/pipelines/runtime-wasm-perf.yml
eng/pipelines/runtime-wasm-perf.yml
+4
-1
eng/testing/performance/microbenchmarks.proj
eng/testing/performance/microbenchmarks.proj
+1
-1
eng/testing/performance/performance-setup.sh
eng/testing/performance/performance-setup.sh
+15
-1
未找到文件。
eng/pipelines/coreclr/perf-wasm-jobs.yml
浏览文件 @
5a76f8c2
...
...
@@ -7,6 +7,7 @@ parameters:
onlySanityCheck
:
false
downloadSpecificBuild
:
null
# { buildId, pipeline, branchName, project }
collectHelixLogsScript
:
'
'
perfForkToUse
:
{}
# url, branch
jobs
:
...
...
@@ -48,6 +49,7 @@ jobs:
javascriptEngine
:
'
javascriptcore'
collectHelixLogsScript
:
${{ parameters.collectHelixLogsScript }}
downloadSpecificBuild
:
${{ parameters.downloadSpecificBuild }}
perfForkToUse
:
${{ parameters.perfForkToUse }}
#downloadSpecificBuild:
#buildId: '1693181'
#pipeline: 'perf-wasm'
...
...
@@ -74,6 +76,7 @@ jobs:
javascriptengine
:
'
javascriptcore'
collectHelixLogsScript
:
${{ parameters.collectHelixLogsScript }}
downloadSpecificBuild
:
${{ parameters.downloadSpecificBuild }}
perfForkToUse
:
${{ parameters.perfForkToUse }}
-
${{ if eq(parameters.runProfile, 'v8') }}
:
-
${{ if eq(parameters.downloadSpecificBuild.buildId, '') }}
:
...
...
@@ -116,6 +119,7 @@ jobs:
compare
:
${{ parameters.compare }}
onlySanityCheck
:
${{ parameters.onlySanityCheck }}
downloadSpecificBuild
:
${{ parameters.downloadSpecificBuild }}
perfForkToUse
:
${{ parameters.perfForkToUse }}
#run mono wasm aot microbenchmarks perf job
-
template
:
/eng/pipelines/common/platform-matrix.yml
...
...
@@ -140,6 +144,7 @@ jobs:
compare
:
${{ parameters.compare }}
onlySanityCheck
:
${{ parameters.onlySanityCheck }}
downloadSpecificBuild
:
${{ parameters.downloadSpecificBuild }}
perfForkToUse
:
${{ parameters.perfForkToUse }}
# run mono wasm blazor perf job
-
template
:
/eng/pipelines/common/platform-matrix.yml
...
...
@@ -160,3 +165,4 @@ jobs:
#additionalSetupParameters: '--latestdotnet' - doesn't do anything, IIUC. see performance-setup.sh
logicalmachine
:
'
perftiger'
downloadSpecificBuild
:
${{ parameters.downloadSpecificBuild }}
perfForkToUse
:
${{ parameters.perfForkToUse }}
eng/pipelines/coreclr/templates/perf-job.yml
浏览文件 @
5a76f8c2
...
...
@@ -25,6 +25,7 @@ parameters:
compare
:
false
onlySanityCheck
:
false
downloadSpecificBuild
:
null
# buildId, pipeline, branchName, project
perfForkToUse
:
{}
# url, branch
### Perf job
...
...
@@ -114,11 +115,19 @@ jobs:
-
${{ each variable in parameters.variables }}
:
-
name
:
${{ variable.name }}
value
:
${{ variable.value }}
-
name
:
extraSetupParametersSuffix
-
name
:
_compareArg
${{ if eq(parameters.compare, 'true') }}
:
value
:
'
--compare'
-
name
:
_onlySanityCheckArg
${{ if eq(parameters.onlySanityCheck, 'true') }}
:
value
:
'
--only-sanity'
-
name
:
_perfForkArg
${{ if ne(parameters.perfForkToUse.url, '') }}
:
value
:
--perffork ${{ parameters.perfForkToUse.url }} --perfforkbranch ${{ coalesce(parameters.perfForkToUse.branch, 'main') }}
-
name
:
extraSetupParametersSuffix
value
:
"
$(_compareArg)
$(_onlySanityCheckArg)
$(_perfForkArg)"
frameworks
:
-
${{ parameters.framework }}
...
...
eng/pipelines/runtime-wasm-perf.yml
浏览文件 @
5a76f8c2
...
...
@@ -19,7 +19,10 @@ jobs:
parameters
:
runProfile
:
'
v8'
collectHelixLogsScript
:
${{ variables._wasmCollectHelixLogsScript }}
#onlySanityCheck: false
onlySanityCheck
:
true
#perfForkToUse:
#url: https://github.com/radical/performance
#branch: fix-build
#downloadSpecificBuild:
#buildId: '1878694'
#pipeline: 'perf-wasm'
...
...
eng/testing/performance/microbenchmarks.proj
浏览文件 @
5a76f8c2
...
...
@@ -72,7 +72,7 @@
<PropertyGroup>
<WorkItemTimeout>2:30</WorkItemTimeout>
<WorkItemTimeout Condition="'$(OnlySanityCheck)' == 'true'">
0:15
</WorkItemTimeout>
<WorkItemTimeout Condition="'$(OnlySanityCheck)' == 'true'">
1:30
</WorkItemTimeout>
</PropertyGroup>
<ItemGroup>
...
...
eng/testing/performance/performance-setup.sh
浏览文件 @
5a76f8c2
...
...
@@ -23,6 +23,8 @@ monoaot_path=
run_categories
=
"Libraries Runtime"
csproj
=
"src
\b
enchmarks
\m
icro
\M
icroBenchmarks.csproj"
configurations
=
"CompliationMode=
$compilation_mode
RunKind=
$kind
"
perf_fork
=
""
perf_fork_branch
=
"main"
run_from_perf_repo
=
false
use_core_run
=
true
use_baseline_core_run
=
true
...
...
@@ -158,6 +160,14 @@ while (($# > 0)); do
maui_version
=
$2
shift
2
;;
--perffork
)
perf_fork
=
$2
shift
2
;;
--perfforkbranch
)
perf_fork_branch
=
$2
shift
2
;;
--only-sanity
)
only_sanity
=
true
shift
1
...
...
@@ -306,7 +316,11 @@ if [[ "$run_from_perf_repo" == true ]]; then
performance_directory
=
$workitem_directory
setup_arguments
=
"--perf-hash
$commit_sha
$common_setup_arguments
"
else
git clone
--branch
main
--depth
1
--quiet
https://github.com/dotnet/performance.git
$performance_directory
if
[[
-n
"
$perf_fork
"
]]
;
then
git clone
--branch
$perf_fork_branch
--depth
1
--quiet
$perf_fork
$performance_directory
else
git clone
--branch
main
--depth
1
--quiet
https://github.com/dotnet/performance.git
$performance_directory
fi
# uncomment to use BenchmarkDotNet sources instead of nuget packages
# git clone https://github.com/dotnet/BenchmarkDotNet.git $benchmark_directory
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录