Avatar for the cpp-linter user
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
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

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

Improved

test_run_clang_tidy_valid[args6-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args6-1]
CodSpeed Performance Gauge
+16%
930.6 µs
801.5 µs
test_run_clang_tidy_invalid[args6-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args6-1]
CodSpeed Performance Gauge
+15%
852 µs
742.2 µs

Passed

test_get_version_from_dependency_success
tests/test_util.py::test_get_version_from_dependency_success
CodSpeed Performance Gauge
+1%
1.6 ms
1.6 ms
test_run_clang_format_valid[args2-expected_retval2]
tests/test_clang_format.py::test_run_clang_format_valid[args2-expected_retval2]
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args4-1]
CodSpeed Performance Gauge
0%
881.3 µs
877.3 µs
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args2-1]
CodSpeed Performance Gauge
0%
746.1 µs
742.8 µs
test_get_version_from_dependency_missing_dependency
tests/test_util.py::test_get_version_from_dependency_missing_dependency
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_get_version_from_dependency_malformed_toml
tests/test_util.py::test_get_version_from_dependency_malformed_toml
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args3-1]
CodSpeed Performance Gauge
0%
877.4 µs
874.2 µs
test_get_version_from_dependency_missing_file
tests/test_util.py::test_get_version_from_dependency_missing_file
CodSpeed Performance Gauge
0%
957.2 µs
953.8 µs
test_run_clang_format_valid[args3-expected_retval3]
tests/test_clang_format.py::test_run_clang_format_valid[args3-expected_retval3]
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_resolve_version_clang_format[20.1-20.1.8]
tests/test_util.py::test_resolve_version_clang_format[20.1-20.1.8]
CodSpeed Performance Gauge
0%
136.8 µs
136.4 µs
test_run_clang_format_dry_run[args0-1]
tests/test_clang_format.py::test_run_clang_format_dry_run[args0-1]
CodSpeed Performance Gauge
0%
817.9 µs
815.6 µs
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py::test_run_clang_format_valid[args1-expected_retval1]
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_install_tool_success
tests/test_util.py::test_install_tool_success
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_get_runtime_version_clang_tidy
tests/test_util.py::test_get_runtime_version_clang_tidy
CodSpeed Performance Gauge
0%
513.6 µs
512.3 µs
test_run_clang_format_invalid[args6-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args6-1]
CodSpeed Performance Gauge
0%
847.3 µs
845.2 µs
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args5-1]
CodSpeed Performance Gauge
0%
743.2 µs
741.6 µs
test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args1-1]
CodSpeed Performance Gauge
0%
802.6 µs
800.9 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py::test_run_clang_format_valid[args0-expected_retval0]
CodSpeed Performance Gauge
0%
996.4 µs
994.3 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args1-1]
CodSpeed Performance Gauge
0%
958.5 µs
956.8 µs
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args3-1]
CodSpeed Performance Gauge
0%
752.7 µs
751.4 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args5-1]
CodSpeed Performance Gauge
0%
801.6 µs
800.2 µs
test_resolve_version_clang_format[18-18.1.8]
tests/test_util.py::test_resolve_version_clang_format[18-18.1.8]
CodSpeed Performance Gauge
0%
143.7 µs
143.4 µs
test_run_clang_format_verbose_error
tests/test_clang_format.py::test_run_clang_format_verbose_error
CodSpeed Performance Gauge
0%
933.3 µs
931.8 µs
test_resolve_version_clang_format[20-20.1.8]
tests/test_util.py::test_resolve_version_clang_format[20-20.1.8]
CodSpeed Performance Gauge
0%
137.4 µs
137.1 µs
test_run_clang_tidy_valid[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args2-1]
CodSpeed Performance Gauge
0%
803.2 µs
802.2 µs
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args0-1]
CodSpeed Performance Gauge
0%
781.9 µs
780.9 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args5-1]
CodSpeed Performance Gauge
0%
866.7 µs
865.6 µs
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args4-1]
CodSpeed Performance Gauge
0%
892.6 µs
891.5 µs
test_run_clang_format_valid[args5-expected_retval5]
tests/test_clang_format.py::test_run_clang_format_valid[args5-expected_retval5]
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args3-1]
CodSpeed Performance Gauge
0%
805.3 µs
804.5 µs
test_ensure_installed_no_runtime_version
tests/test_util.py::test_ensure_installed_no_runtime_version
CodSpeed Performance Gauge
0%
856.4 µs
855.6 µs
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args0-1]
CodSpeed Performance Gauge
0%
823.8 µs
823.1 µs
test_run_clang_tidy_invalid[args4-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args4-1]
CodSpeed Performance Gauge
0%
830.1 µs
829.5 µs
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args2-1]
CodSpeed Performance Gauge
0%
957.7 µs
957.1 µs
test_run_clang_format_valid[args4-expected_retval4]
tests/test_clang_format.py::test_run_clang_format_valid[args4-expected_retval4]
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args0-1]
CodSpeed Performance Gauge
0%
720 µs
719.6 µs
test_get_runtime_version_exception
tests/test_util.py::test_get_runtime_version_exception
CodSpeed Performance Gauge
0%
520.5 µs
520.2 µs
test_ensure_installed[clang-tidy-20]
tests/test_util.py::test_ensure_installed[clang-tidy-20]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_is_installed_not_found
tests/test_util.py::test_is_installed_not_found
CodSpeed Performance Gauge
0%
537.5 µs
537.3 µs
test_resolve_install_tool_version_mismatch
tests/test_util.py::test_resolve_install_tool_version_mismatch
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
test_ensure_installed[clang-format-20]
tests/test_util.py::test_ensure_installed[clang-format-20]
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_ensure_installed[clang-format-None]
tests/test_util.py::test_ensure_installed[clang-format-None]
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
test_install_tool_failure
tests/test_util.py::test_install_tool_failure
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
test_get_runtime_version_clang_tidy_single_line
tests/test_util.py::test_get_runtime_version_clang_tidy_single_line
CodSpeed Performance Gauge
0%
508.9 µs
509 µs
test_resolve_install_tool_not_installed
tests/test_util.py::test_resolve_install_tool_not_installed
CodSpeed Performance Gauge
0%
938.1 µs
938.2 µs
test_resolve_version_clang_format[18.1-18.1.8]
tests/test_util.py::test_resolve_version_clang_format[18.1-18.1.8]
CodSpeed Performance Gauge
0%
144.7 µs
144.8 µs
test_run_clang_format_verbose
tests/test_clang_format.py::test_run_clang_format_verbose
CodSpeed Performance Gauge
0%
996.4 µs
996.6 µs
test_run_clang_format_valid[args6-expected_retval6]
tests/test_clang_format.py::test_run_clang_format_valid[args6-expected_retval6]
CodSpeed Performance Gauge
0%
985.5 µs
985.9 µs
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args1-1]
CodSpeed Performance Gauge
0%
750 µs
750.4 µs
test_resolve_version_clang_format[invalid-None]
tests/test_util.py::test_resolve_version_clang_format[invalid-None]
CodSpeed Performance Gauge
0%
244.8 µs
244.9 µs
test_ensure_installed_version_mismatch
tests/test_util.py::test_ensure_installed_version_mismatch
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
test_resolve_install_no_version_specified
tests/test_util.py::test_resolve_install_no_version_specified
CodSpeed Performance Gauge
0%
929.7 µs
930.4 µs
test_get_runtime_version_clang_format
tests/test_util.py::test_get_runtime_version_clang_format
CodSpeed Performance Gauge
0%
511.6 µs
512.1 µs
test_ensure_installed_tool_not_found
tests/test_util.py::test_ensure_installed_tool_not_found
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_is_installed_with_shutil_which
tests/test_util.py::test_is_installed_with_shutil_which
CodSpeed Performance Gauge
0%
601.2 µs
601.8 µs
test_resolve_version_clang_tidy[19-19.1.0.1]
tests/test_util.py::test_resolve_version_clang_tidy[19-19.1.0.1]
CodSpeed Performance Gauge
0%
107.6 µs
107.8 µs
test_resolve_install_with_none_default_version
tests/test_util.py::test_resolve_install_with_none_default_version
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py::test_resolve_install_tool_already_installed_correct_version
CodSpeed Performance Gauge
0%
914.1 µs
915.5 µs
test_default_versions
tests/test_util.py::test_default_versions
CodSpeed Performance Gauge
0%
84.2 µs
84.4 µs
test_resolve_install_invalid_version
tests/test_util.py::test_resolve_install_invalid_version
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_resolve_version_clang_format[20.99-None]
tests/test_util.py::test_resolve_version_clang_format[20.99-None]
CodSpeed Performance Gauge
0%
245.2 µs
245.7 µs
test_resolve_version_clang_format[20.1.7-20.1.7]
tests/test_util.py::test_resolve_version_clang_format[20.1.7-20.1.7]
CodSpeed Performance Gauge
0%
93.2 µs
93.4 µs
test_install_tool_success_but_not_found
tests/test_util.py::test_install_tool_success_but_not_found
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_resolve_version_clang_tidy[20-20.1.0]
tests/test_util.py::test_resolve_version_clang_tidy[20-20.1.0]
CodSpeed Performance Gauge
0%
103.6 µs
103.9 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py::test_resolve_version_clang_tidy[None-None]
CodSpeed Performance Gauge
0%
86.1 µs
86.3 µs
test_resolve_version_clang_format[None-None]
tests/test_util.py::test_resolve_version_clang_format[None-None]
CodSpeed Performance Gauge
0%
87.1 µs
87.3 µs
test_version_lists_not_empty
tests/test_util.py::test_version_lists_not_empty
CodSpeed Performance Gauge
0%
111.6 µs
112.1 µs
test_resolve_version_clang_tidy[18-18.1.8]
tests/test_util.py::test_resolve_version_clang_tidy[18-18.1.8]
CodSpeed Performance Gauge
-1%
107.3 µs
107.8 µs
test_resolve_version_clang_tidy[99-None]
tests/test_util.py::test_resolve_version_clang_tidy[99-None]
CodSpeed Performance Gauge
-1%
231.8 µs
233.1 µs
test_resolve_version_clang_format[99-None]
tests/test_util.py::test_resolve_version_clang_format[99-None]
CodSpeed Performance Gauge
-1%
244.4 µs
246.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
5 days ago
by shenxianpeng
-0.23%
Update testing/pre-commit-config-version.yaml
f27eedd
5 days ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs