cpp-linter
cpp-linter-hooks
BlogDocsChangelog

Migration: From Clang Tools Binaries to Python Wheels

#87Merged
Comparing
v1
(
f34d1e5
) with
main
(
4c2dece
)
CodSpeed Performance Gauge
-79%
Improvements
2
Regressions
19
Untouched
8
New
39
Dropped
2

Benchmarks

Failed

test_ensure_installed[clang-tidy-18]
tests/test_util.py
Missing
CodSpeed Performance Gauge
N/A
1.8 msN/A
test_ensure_installed[clang-format-18]
tests/test_util.py
Missing
CodSpeed Performance Gauge
N/A
1.8 msN/A
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-55%
1.1 ms2.4 ms
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-58%
1.1 ms2.6 ms
test_run_clang_format_dry_run[args0-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-55%
1.1 ms2.4 ms
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-59%
1.1 ms2.6 ms
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-59%
1.1 ms2.6 ms
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-78%
549.5 µs2,546.3 µs
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-79%
549.4 µs2,560.3 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-51%
1.3 ms2.6 ms
test_run_clang_format_valid[args3-expected_retval3]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-54%
1.2 ms2.7 ms
test_run_clang_format_valid[args2-expected_retval2]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-55%
1.2 ms2.8 ms
test_run_clang_format_valid[args4-expected_retval4]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-74%
686.3 µs2,676.8 µs
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-55%
1.2 ms2.8 ms
test_run_clang_format_valid[args5-expected_retval5]
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-74%
687.6 µs2,674.7 µs
test_run_clang_format_verbose_error
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-52%
1.2 ms2.5 ms
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py
Regression
CodSpeed Performance Gauge
-58%
457.2 µs1,080 µs
test_run_clang_tidy_invalid[args4-1]
tests/test_clang_tidy.py
Regression
CodSpeed Performance Gauge
-58%
461.1 µs1,087.4 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py
Regression
CodSpeed Performance Gauge
-54%
521.3 µs1,142 µs
test_run_clang_format_verbose
tests/test_clang_format.py
Regression
CodSpeed Performance Gauge
-50%
1.3 ms2.5 ms
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py
Regression
CodSpeed Performance Gauge
-55%
520.7 µs1,148.5 µs

Improved

test_ensure_installed[clang-tidy-None]
tests/test_util.py
CodSpeed Performance Gauge
+56%
1.8 ms1.2 ms
test_ensure_installed[clang-format-None]
tests/test_util.py
CodSpeed Performance Gauge
+55%
1.8 ms1.2 ms

New

test_get_version_from_dependency_missing_dependency
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.3 ms
test_get_version_from_dependency_malformed_toml
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.3 ms
test_get_runtime_version_clang_tidy_single_line
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A509.5 µs
test_get_runtime_version_exception
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A517 µs
test_resolve_version_clang_format[20.99-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.1 ms
test_get_runtime_version_clang_tidy
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A515.3 µs
test_get_version_from_dependency_missing_file
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A950.8 µs
test_install_tool_success_but_not_found
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.1 ms
test_get_version_from_dependency_success
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.4 ms
test_install_tool_failure
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.4 ms
test_resolve_version_clang_format[None-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A86.6 µs
test_resolve_version_clang_format[99-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.8 ms
test_install_tool_success
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.1 ms
test_resolve_version_clang_format[20.1-20.1.7]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.1 ms
test_resolve_version_clang_format[20.1.7-20.1.7]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.7 ms
test_resolve_install_invalid_version
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A937.5 µs
test_resolve_version_clang_format[invalid-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A103.5 µs
test_resolve_install_tool_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A3.6 ms
test_resolve_version_clang_tidy[20-20.1.0]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A450.1 µs
test_resolve_version_clang_tidy[99-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A436.7 µs
test_resolve_version_clang_tidy[19-19.1.0.1]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A447.8 µs
test_resolve_version_clang_tidy[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A447.5 µs
test_resolve_install_no_version_specified
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A932.2 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A86.3 µs
test_version_lists_not_empty
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A110.9 µs
test_is_installed_with_shutil_which
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A603.6 µs
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.5 ms
test_resolve_version_clang_format[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.8 ms
test_resolve_version_clang_format[20-20.1.7]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.8 ms
test_resolve_install_tool_not_installed
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.5 ms
test_resolve_version_clang_format[18.1-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.1 ms
test_is_installed_not_found
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A539.9 µs
test_get_runtime_version_clang_format
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A513.4 µs
test_ensure_installed_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A3.1 ms
test_ensure_installed_no_runtime_version
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.4 ms
test_ensure_installed[clang-format-20]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A2.9 ms
test_default_versions
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A84.1 µs
test_ensure_installed[clang-tidy-20]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1.5 ms
test_ensure_installed_tool_not_found
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A1 ms

Passed

test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-3%
1.1 ms1.1 ms
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-3%
1 ms1 ms
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-4%
1 ms1.1 ms
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-4%
1 ms1.1 ms
test_run_clang_tidy_valid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-5%
1.1 ms1.1 ms
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-5%
1.1 ms1.1 ms
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-5%
1 ms1.1 ms
test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
-5%
1.1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
4c2dece
-17.24%
Migrate from clang-tools binaries to wheels
f345167
4 months ago
by shenxianpeng
-0.18%
allow run in parallel and pin clang-tools version
7e13841
4 months ago
by shenxianpeng
0%
update run.sh
9579df6
4 months ago
by shenxianpeng
-60.96%
fix utils.py tests and others
c03ae0f
4 months ago
by shenxianpeng
+0.1%
fix: add mising package
b67718a
4 months ago
by shenxianpeng
-0.1%
revert mian.c change
fbb7eb9
4 months ago
by shenxianpeng
-0.01%
docs: update docs
d1ee4f5
4 months ago
by shenxianpeng
+0.02%
add @pytest.mark.benchmark to test
4dcaef1
4 months ago
by shenxianpeng
0%
pre-commit autoupdate
ebc62b6
4 months ago
by shenxianpeng
0%
update docs
6610e8d
4 months ago
by shenxianpeng
0%
update docs
02670a3
4 months ago
by shenxianpeng
-0.18%
increase test coverage
f34d1e5
4 months ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs