File tree Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change
1
+ .HostEnvironmentInfo.ChronometerFrequency.Hertz as $ticks
2
+ | .Benchmarks
3
+ | map (select ((.Parameters
4
+ | (contains ("-mini" ) or contains ("-beta" )) | not )))
5
+ | map ({
6
+ provider : .Parameters [7 :10 ],
7
+ model : .Parameters [11 :],
8
+ mean : ((.Statistics.Mean / $ticks ) | . * 10 | floor | . / 1000 )
9
+ })
10
+ | reduce . [] as $item ({};
11
+ . + {($item .provider ): {
12
+ mean : $item .mean ,
13
+ model : $item .model
14
+ }}
15
+ )
Original file line number Diff line number Diff line change @@ -5,25 +5,13 @@ dotnet run -c Release --no-launch-profile
5
5
if (-not $? ) { throw ' Failed to run benchmarks' }
6
6
7
7
popd;
8
+ pushd .\artifacts
8
9
9
- jq - r ' .HostEnvironmentInfo.ChronometerFrequency.Hertz as $ticks
10
- | .Benchmarks
11
- | map(select((.Parameters
12
- | (contains("-mini") or contains("-beta")) | not)))
13
- | map({
14
- provider: .Parameters[7:10],
15
- model: .Parameters[11:],
16
- mean: ((.Statistics.Mean / $ticks) | . * 10 | floor | . / 1000)
17
- })
18
- | reduce .[] as $item ({};
19
- . + {($item.provider): {
20
- mean: $item.mean,
21
- model: $item.model
22
- }}
23
- )' .\artifacts\results\AI.Benchmarks.ModelPerformance- report- full.json > .\artifacts\summary.json
10
+ jq - r -f summary.jq .\results\AI.Benchmarks.ModelPerformance- report- full.json > summary.json
24
11
25
12
if (-not $? ) { throw ' Failed to create summary' }
26
13
14
+ popd;
27
15
.\resolve-file - includes.ps1
28
16
git add * .json
29
17
git add * .md
You can’t perform that action at this time.
0 commit comments