You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,3 +105,20 @@ git checkout *.cs
105
105
```pwsh
106
106
. ./scripts/promoteUnshipped.ps1
107
107
```
108
+
109
+
## Updating the benchmark information
110
+
111
+
To ensure performance of the library does not degrade over time, we have continuous benchmarks running. You might see the continuous integration failing if your pull request changed any model under __src/Microsoft.OpenApi/Models__.
112
+
113
+
```txt
114
+
Benchmark result for EmptyApiSchema does not match the existing benchmark result (original!=new). Allocated bytes differ: 408 != 416
115
+
```
116
+
117
+
To update the benchmarks, run the following script:
118
+
119
+
```shell
120
+
cd performance/benchmark
121
+
dotnet run -c Release
122
+
```
123
+
124
+
Then commit the report files using a "chore" commit.
0 commit comments