Skip to content

pytest_park.core

[docs] package pytest_park.core

 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
from pytest_park.core._grouping import DEFAULT_GROUPING_PRECEDENCE, BenchmarkGrouper, build_group_label
from pytest_park.core.comparison import (
    RunComparator,
    build_method_group_split_bars,
    build_method_statistics,
    build_overview_statistics,
    compare_runs,
    summarize_groups,
)
from pytest_park.core.history import (
    HistoryAnalyzer,
    build_method_history,
    build_trends,
    compare_method_history_to_reference,
    compare_method_to_all_prior_runs,
)
from pytest_park.core.improvements import (
    ImprovementAnalyzer,
    analyze_method_improvements,
    build_overall_improvement_summary,
    build_postfix_comparison,
    build_regression_improvements,
)
from pytest_park.core.reporting import (
    BenchmarkReporter,
    ReportTableBuilder,
    build_benchmark_header_label,
    build_postfix_comparison_table,
    build_regression_table,
    format_delta_line,
    format_improvement_value,
)
from pytest_park.core.runs import (
    RunSelector,
    attach_profiler_data,
    list_methods,
    select_candidate_run,
    select_latest_and_previous_runs,
    select_reference_run,
)

__all__ = [
    "BenchmarkGrouper",
    "BenchmarkReporter",
    "DEFAULT_GROUPING_PRECEDENCE",
    "ReportTableBuilder",
    "analyze_method_improvements",
    "attach_profiler_data",
    "build_benchmark_header_label",
    "build_group_label",
    "build_method_group_split_bars",
    "build_method_history",
    "build_method_statistics",
    "build_overall_improvement_summary",
    "build_overview_statistics",
    "build_postfix_comparison",
    "build_postfix_comparison_table",
    "build_regression_improvements",
    "build_regression_table",
    "build_trends",
    "compare_method_history_to_reference",
    "compare_method_to_all_prior_runs",
    "compare_runs",
    "format_delta_line",
    "format_improvement_value",
    "list_methods",
    "select_candidate_run",
    "select_latest_and_previous_runs",
    "select_reference_run",
    "summarize_groups",
]