Skip to content

Commit 5626549

Browse files
author
Martin Boje Carpentier
committed
Changed program to test benchmarking
1 parent e2eef48 commit 5626549

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/continous-benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
6.0.x
2323
# Run benchmark with `go test -bench` and stores the output to a file
2424
- name: Run benchmark
25-
run: dotnet run --project ./GeoJSON.Text.Test.Benchmark/GeoJSON.Text.Test.Benchmark.csproj --framework net6 --runtimes net60 -c Release -- --job short --filter *SerializeFeatureCollectionLinestring*;*DeserializeFeatureCollectionLinestring*
25+
run: dotnet run --project ./GeoJSON.Text.Test.Benchmark/GeoJSON.Text.Test.Benchmark.csproj --framework net6 --runtimes net60 -c Release -- --job short --filter
2626
# Download previous benchmark result from cache (if exists)
2727
- name: Download previous benchmark data
2828
uses: actions/cache@v1

src/GeoJSON.Text.Test.Benchmark/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public static void Main(string[] args)
1111
{
1212
var switcher = new BenchmarkSwitcher(new[] {
1313
typeof(SerializeFeatureCollectionLinestring),
14-
typeof(SerializeFeatureLinestring),
15-
typeof(DeserializeFeatureLinestring),
16-
typeof(DeserializeFeatureCollectionLinestring),
14+
//typeof(SerializeFeatureLinestring),
15+
//typeof(DeserializeFeatureLinestring),
16+
//typeof(DeserializeFeatureCollectionLinestring),
1717
});
1818
switcher.Run(args);
1919
}

0 commit comments

Comments
 (0)