Skip to content

Commit 3c382ed

Browse files
authored
Replace blob redirect URLs with direct raw.githubusercontent.com URLs - Continuation (#2164)
* Remove unnecessary query parameter from httpClientJobs URL in httpclient-scenarios.yml * Replace blob redirect URLs with direct raw.githubusercontent.com URL * Update README.md to use direct raw.githubusercontent.com URLs for benchmark config
1 parent c5a2825 commit 3c382ed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/httpclient-scenarios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919

2020
- name: httpClientJobs
2121
type: string
22-
default: '--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/httpclient.benchmarks.yml?raw=true'
22+
default: '--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/httpclient.benchmarks.yml'
2323

2424
- name: tfm
2525
type: string

scenarios/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ These scenarios are running [dotnet micro benchmarks](https://github.com/dotnet/
560560
### Sample
561561

562562
```
563-
crank --config https://github.com/aspnet/benchmarks/blob/main/scenarios/dotnet.benchmarks.yml?raw=true --scenario linq --profile aspnet-perf-win
563+
crank --config https://raw.githubusercontent.com/aspnet/benchmarks/main/scenarios/dotnet.benchmarks.yml --scenario linq --profile aspnet-perf-win
564564
```
565565

566566
### Available scenarios
@@ -571,7 +571,7 @@ crank --config https://github.com/aspnet/benchmarks/blob/main/scenarios/dotnet.b
571571
The scenario named `custom` can be used to pass any custom filter variable like so:
572572

573573
```
574-
crank --config https://github.com/aspnet/benchmarks/blob/main/scenarios/dotnet.benchmarks.yml?raw=true --scenario custom --profile aspnet-perf-win --variable filter=*LinqBenchmarks*
574+
crank --config https://raw.githubusercontent.com/aspnet/benchmarks/main/scenarios/dotnet.benchmarks.yml --scenario custom --profile aspnet-perf-win --variable filter=*LinqBenchmarks*
575575
```
576576

577577
## FAQ

scenarios/tls.benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
imports:
22
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
33
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml
4-
- https://github.com/dotnet/crank/blob/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml?raw=true
4+
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
55
- https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/aspnet.profiles.yml
66

77
variables:

0 commit comments

Comments
 (0)