forked from dnv-opensource/vista-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark.toml
More file actions
48 lines (40 loc) · 1.26 KB
/
benchmark.toml
File metadata and controls
48 lines (40 loc) · 1.26 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
# Vista SDK Python Benchmark Configuration
# Mirrors C#'s benchmark configuration
[benchmark]
name = "Vista SDK Python Benchmarks"
version = "1.0.0"
# BenchmarkDotNet equivalent settings
min_rounds = 20
max_time = 1.0
warmup = true
warmup_iterations = 3
disable_gc = true
timer = "perf_counter"
# Memory diagnostics (equivalent to MemoryDiagnoser)
memory_diagnostics = true
# Orderer settings (equivalent to BenchmarkDotNet orderer)
method_order = "Declared" # MethodOrderPolicy.Declared
summary_order = "FastestToSlowest" # SummaryOrderPolicy.FastestToSlowest
# Groups and categories
[benchmark.groups]
codebooks = "Codebooks benchmarks"
gmod = "GMOD benchmarks"
transport = "Transport benchmarks"
internal = "Internal benchmarks"
[benchmark.categories]
"No location" = "Benchmarks without location parsing"
"With location" = "Benchmarks with location parsing"
"Uncompressed" = "Uncompressed serialization benchmarks"
"Brotli" = "Brotli compression benchmarks"
"Bzip2" = "Bzip2 compression benchmarks"
# Output settings
[benchmark.output]
json_file = "benchmark_results.json"
csv_file = "benchmark_results.csv"
save_data = true
verbose = false
# Test discovery
[benchmark.discovery]
test_pattern = "test_*.py"
benchmark_pattern = "test_*benchmark*.py"
base_path = "tests/benchmark/"