-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathGet-CuratedBenchmarkConfiguration.ps1
More file actions
74 lines (68 loc) · 3.39 KB
/
Copy pathGet-CuratedBenchmarkConfiguration.ps1
File metadata and controls
74 lines (68 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
function Get-CuratedBenchmarkConfiguration
{
$catalogFirstBenchmarks = @(
'ProjNet.Benchmark.CatalogFirstTransformationLookupBenchmarks.FirstCreateTransformation4326To3857'
)
$wktParsingBenchmarks = @(
'ProjNet.Benchmark.WktParsingBenchmarks.ParseSimpleGeographicCs',
'ProjNet.Benchmark.WktParsingBenchmarks.ParseProjectedCs',
'ProjNet.Benchmark.WktParsingBenchmarks.ParseCompoundCs',
'ProjNet.Benchmark.WktParsingBenchmarks.ParseGeodeticWkt2',
'ProjNet.Benchmark.WktParsingBenchmarks.ParseProjectedWkt2',
'ProjNet.Benchmark.WktParsingBenchmarks.ParseBoundWkt2'
)
$projectionTransformBenchmarks = @(
'ProjNet.Benchmark.ProjectionTransformBenchmarks.TransformBatchMercator',
'ProjNet.Benchmark.ProjectionTransformBenchmarks.TransformBatchUtm32N',
'ProjNet.Benchmark.ProjectionTransformBenchmarks.TransformBatchLambert93'
)
$projParityBenchmarks = @(
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToWebMercatorBatched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToWebMercatorOneByOne(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToUtm32NBatched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToUtm31NBatched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Utm31NToWgs84Batched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToLambert93Batched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Lambert93ToWgs84Batched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.WebMercatorToWgs84Batched(PointCount: 10000)',
'ProjNet.Benchmark.ProjParityBenchmarks.Wgs84ToWebMercatorBatchedWithNoise(PointCount: 10000)'
)
$transformationFactoryBenchmarks = @(
'ProjNet.Benchmark.TransformationFactoryBenchmarks.CreateTransformWgs84ToMercator',
'ProjNet.Benchmark.TransformationFactoryBenchmarks.CreateTransformWgs84ToUtm32N',
'ProjNet.Benchmark.TransformationFactoryBenchmarks.CreateTransformUtm32NToLambert93'
)
$allCuratedBenchmarks =
$catalogFirstBenchmarks +
$wktParsingBenchmarks +
$projectionTransformBenchmarks +
$projParityBenchmarks +
$transformationFactoryBenchmarks
return @{
FullRuns = @(
@{
Filters = $catalogFirstBenchmarks + $wktParsingBenchmarks
Overrides = @()
},
@{
Filters = $projectionTransformBenchmarks + $projParityBenchmarks + $transformationFactoryBenchmarks
Overrides = @('--launchCount', '1', '--warmupCount', '1', '--iterationCount', '3')
}
)
SmokeRuns = @(
@{
Filters = $catalogFirstBenchmarks
Overrides = @('--launchCount', '1', '--warmupCount', '0', '--iterationCount', '1')
},
@{
Filters = $wktParsingBenchmarks
Overrides = @('--launchCount', '1', '--warmupCount', '1', '--iterationCount', '1')
},
@{
Filters = $projectionTransformBenchmarks + $projParityBenchmarks + $transformationFactoryBenchmarks
Overrides = @('--launchCount', '1', '--warmupCount', '1', '--iterationCount', '1')
}
)
RequiredDatasetPatterns = $allCuratedBenchmarks
}
}