cpp-linter
cpp-linter-hooks
BlogDocsChangelog

feat: support clang-tidy v21

#100Merged
Comparing
feature/support-clang-tidy-v21
(
f27eedd
) with
main
(
f5896e2
)
CodSpeed Performance Gauge
-11%
Improvements
2
Regressions
1
Untouched
70

Benchmarks

Failed

test_ensure_installed[clang-tidy-None]
tests/test_util.py
Regression
CodSpeed Performance Gauge
-11%
1.2 ms1.3 ms

Improved

test_run_clang_tidy_valid[args6-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
+16%
930.6 µs801.5 µs
test_run_clang_tidy_invalid[args6-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
+15%
852 µs742.2 µs

Passed

test_get_version_from_dependency_success
tests/test_util.py
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
test_run_clang_format_valid[args2-expected_retval2]
tests/test_clang_format.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
881.3 µs877.3 µs
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
746.1 µs742.8 µs
test_get_version_from_dependency_missing_dependency
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_get_version_from_dependency_malformed_toml
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
877.4 µs874.2 µs
test_get_version_from_dependency_missing_file
tests/test_util.py
CodSpeed Performance Gauge
0%
957.2 µs953.8 µs
test_run_clang_format_valid[args3-expected_retval3]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_resolve_version_clang_format[20.1-20.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
136.8 µs136.4 µs
test_run_clang_format_dry_run[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
817.9 µs815.6 µs
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_install_tool_success
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_get_runtime_version_clang_tidy
tests/test_util.py
CodSpeed Performance Gauge
0%
513.6 µs512.3 µs
test_run_clang_format_invalid[args6-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
847.3 µs845.2 µs
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
743.2 µs741.6 µs
test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
802.6 µs800.9 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
996.4 µs994.3 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
958.5 µs956.8 µs
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
752.7 µs751.4 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
801.6 µs800.2 µs
test_resolve_version_clang_format[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
143.7 µs143.4 µs
test_run_clang_format_verbose_error
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
933.3 µs931.8 µs
test_resolve_version_clang_format[20-20.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
137.4 µs137.1 µs
test_run_clang_tidy_valid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
803.2 µs802.2 µs
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
781.9 µs780.9 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
866.7 µs865.6 µs
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
892.6 µs891.5 µs
test_run_clang_format_valid[args5-expected_retval5]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
805.3 µs804.5 µs
test_ensure_installed_no_runtime_version
tests/test_util.py
CodSpeed Performance Gauge
0%
856.4 µs855.6 µs
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
823.8 µs823.1 µs
test_run_clang_tidy_invalid[args4-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
830.1 µs829.5 µs
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
957.7 µs957.1 µs
test_run_clang_format_valid[args4-expected_retval4]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
720 µs719.6 µs
test_get_runtime_version_exception
tests/test_util.py
CodSpeed Performance Gauge
0%
520.5 µs520.2 µs
test_ensure_installed[clang-tidy-20]
tests/test_util.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_is_installed_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
537.5 µs537.3 µs
test_resolve_install_tool_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_ensure_installed[clang-format-20]
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_ensure_installed[clang-format-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_install_tool_failure
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_get_runtime_version_clang_tidy_single_line
tests/test_util.py
CodSpeed Performance Gauge
0%
508.9 µs509 µs
test_resolve_install_tool_not_installed
tests/test_util.py
CodSpeed Performance Gauge
0%
938.1 µs938.2 µs
test_resolve_version_clang_format[18.1-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
144.7 µs144.8 µs
test_run_clang_format_verbose
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
996.4 µs996.6 µs
test_run_clang_format_valid[args6-expected_retval6]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
985.5 µs985.9 µs
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
750 µs750.4 µs
test_resolve_version_clang_format[invalid-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
244.8 µs244.9 µs
test_ensure_installed_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_resolve_install_no_version_specified
tests/test_util.py
CodSpeed Performance Gauge
0%
929.7 µs930.4 µs
test_get_runtime_version_clang_format
tests/test_util.py
CodSpeed Performance Gauge
0%
511.6 µs512.1 µs
test_ensure_installed_tool_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_is_installed_with_shutil_which
tests/test_util.py
CodSpeed Performance Gauge
0%
601.2 µs601.8 µs
test_resolve_version_clang_tidy[19-19.1.0.1]
tests/test_util.py
CodSpeed Performance Gauge
0%
107.6 µs107.8 µs
test_resolve_install_with_none_default_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py
CodSpeed Performance Gauge
0%
914.1 µs915.5 µs
test_default_versions
tests/test_util.py
CodSpeed Performance Gauge
0%
84.2 µs84.4 µs
test_resolve_install_invalid_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_resolve_version_clang_format[20.99-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
245.2 µs245.7 µs
test_resolve_version_clang_format[20.1.7-20.1.7]
tests/test_util.py
CodSpeed Performance Gauge
0%
93.2 µs93.4 µs
test_install_tool_success_but_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_resolve_version_clang_tidy[20-20.1.0]
tests/test_util.py
CodSpeed Performance Gauge
0%
103.6 µs103.9 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
86.1 µs86.3 µs
test_resolve_version_clang_format[None-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
87.1 µs87.3 µs
test_version_lists_not_empty
tests/test_util.py
CodSpeed Performance Gauge
0%
111.6 µs112.1 µs
test_resolve_version_clang_tidy[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
-1%
107.3 µs107.8 µs
test_resolve_version_clang_tidy[99-None]
tests/test_util.py
CodSpeed Performance Gauge
-1%
231.8 µs233.1 µs
test_resolve_version_clang_format[99-None]
tests/test_util.py
CodSpeed Performance Gauge
-1%
244.4 µs246.9 µs

Commits

Click on a commit to change the comparison range
Base
main
f5896e2
-10.69%
feat: support clang-tidy==21.1.0
61c0fb2
2 months ago
by shenxianpeng
-0.23%
Update testing/pre-commit-config-version.yaml
f27eedd
2 months ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs