cpp-linter
cpp-linter-hooks
BlogDocsChangelog

feat: support clang-format v21

#97Merged
Comparing
feature/support-clang-v21
(
008459b
) with
main
(
924f4de
)
CodSpeed Performance Gauge
-11%
Regressions
2
Untouched
65
New
6
Dropped
2

Benchmarks

Failed

test_resolve_version_clang_format[20-20.1.7]
tests/test_util.py
Missing
CodSpeed Performance Gauge
N/A
133.1 µsN/A
test_resolve_version_clang_format[20.1-20.1.7]
tests/test_util.py
Missing
CodSpeed Performance Gauge
N/A
133.1 µsN/A
test_ensure_installed[clang-format-None]
tests/test_util.py
Regression
CodSpeed Performance Gauge
-10%
1.2 ms1.3 ms
test_ensure_installed[clang-format-20]
tests/test_util.py
Regression
CodSpeed Performance Gauge
-11%
1.2 ms1.4 ms

New

test_run_clang_format_invalid[args6-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
N/A
N/A845.8 µs
test_resolve_version_clang_format[20-20.1.8]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A137.1 µs
test_resolve_version_clang_format[20.1-20.1.8]
tests/test_util.py
CodSpeed Performance Gauge
N/A
N/A136.7 µs
test_run_clang_format_valid[args6-expected_retval6]
tests/test_clang_format.py
CodSpeed Performance Gauge
N/A
N/A986.6 µs
test_run_clang_tidy_valid[args6-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
N/A
N/A929.6 µs
test_run_clang_tidy_invalid[args6-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
N/A
N/A850.8 µs

Passed

test_resolve_version_clang_format[99-None]
tests/test_util.py
CodSpeed Performance Gauge
+2%
249.4 µs243.5 µs
test_resolve_version_clang_tidy[99-None]
tests/test_util.py
CodSpeed Performance Gauge
+1%
233.2 µs230.9 µs
test_resolve_version_clang_format[20.99-None]
tests/test_util.py
CodSpeed Performance Gauge
+1%
246.1 µs243.8 µs
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
+1%
747.7 µs740.9 µs
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
+1%
725.6 µs720 µs
test_resolve_version_clang_format[invalid-None]
tests/test_util.py
CodSpeed Performance Gauge
+1%
244.6 µs242.8 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
960.3 µs956.3 µs
test_ensure_installed[clang-tidy-20]
tests/test_util.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
747.8 µs745.3 µs
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
825.6 µs822.8 µs
test_ensure_installed[clang-tidy-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_run_clang_tidy_invalid[args4-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
833.9 µs831.7 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
869.4 µs867.3 µs
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
806.3 µs804.5 µs
test_resolve_install_with_none_default_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
878.5 µs877 µs
test_install_tool_failure
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_run_clang_format_verbose
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
998.5 µs997.3 µs
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py
CodSpeed Performance Gauge
0%
916.4 µs915.3 µs
test_ensure_installed_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_resolve_version_clang_format[20.1.7-20.1.7]
tests/test_util.py
CodSpeed Performance Gauge
0%
93.3 µs93.2 µs
test_resolve_version_clang_tidy[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
107.7 µs107.6 µs
test_resolve_install_tool_version_mismatch
tests/test_util.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_resolve_version_clang_tidy[19-19.1.0.1]
tests/test_util.py
CodSpeed Performance Gauge
0%
107.7 µs107.6 µs
test_resolve_version_clang_tidy[20-20.1.0]
tests/test_util.py
CodSpeed Performance Gauge
0%
103.8 µs103.8 µs
test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
802.2 µs802 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py
CodSpeed Performance Gauge
0%
86.4 µs86.4 µs
test_run_clang_format_valid[args1-expected_retval1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_get_runtime_version_clang_format
tests/test_util.py
CodSpeed Performance Gauge
0%
512.7 µs512.9 µs
test_resolve_install_invalid_version
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_run_clang_format_dry_run[args0-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
815.3 µs815.8 µs
test_run_clang_format_valid[args2-expected_retval2]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_ensure_installed_no_runtime_version
tests/test_util.py
CodSpeed Performance Gauge
0%
855.1 µs855.7 µs
test_run_clang_tidy_valid[args2-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
802.2 µs802.8 µs
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
750.8 µs751.4 µs
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
781 µs781.7 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
799.6 µs800.9 µs
test_get_runtime_version_clang_tidy_single_line
tests/test_util.py
CodSpeed Performance Gauge
0%
508.6 µs509.4 µs
test_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
993.7 µs995.3 µs
test_get_version_from_dependency_malformed_toml
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_install_tool_success_but_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_is_installed_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
538.4 µs539.6 µs
test_get_version_from_dependency_missing_file
tests/test_util.py
CodSpeed Performance Gauge
0%
955.1 µs957.6 µs
test_run_clang_format_valid[args3-expected_retval3]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_install_tool_success
tests/test_util.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_resolve_install_tool_not_installed
tests/test_util.py
CodSpeed Performance Gauge
0%
937.2 µs939.7 µs
test_resolve_install_no_version_specified
tests/test_util.py
CodSpeed Performance Gauge
0%
929.9 µs932.5 µs
test_resolve_version_clang_format[18.1-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
144.5 µs145 µs
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
747 µs749.4 µs
test_resolve_version_clang_format[18-18.1.8]
tests/test_util.py
CodSpeed Performance Gauge
0%
143.1 µs143.6 µs
test_get_runtime_version_clang_tidy
tests/test_util.py
CodSpeed Performance Gauge
0%
511.1 µs513.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_format_verbose_error
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
930.2 µs934 µs
test_ensure_installed_tool_not_found
tests/test_util.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_get_version_from_dependency_success
tests/test_util.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_default_versions
tests/test_util.py
CodSpeed Performance Gauge
0%
84.2 µs84.6 µs
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
955 µs959.3 µs
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py
CodSpeed Performance Gauge
0%
888.3 µs892.4 µs
test_get_version_from_dependency_missing_dependency
tests/test_util.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_run_clang_format_valid[args5-expected_retval5]
tests/test_clang_format.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_is_installed_with_shutil_which
tests/test_util.py
CodSpeed Performance Gauge
-1%
602.8 µs606 µs
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py
CodSpeed Performance Gauge
-1%
872.7 µs877.6 µs
test_version_lists_not_empty
tests/test_util.py
CodSpeed Performance Gauge
-1%
111.3 µs112 µs
test_resolve_version_clang_format[None-None]
tests/test_util.py
CodSpeed Performance Gauge
-1%
86.7 µs87.3 µs
test_get_runtime_version_exception
tests/test_util.py
CodSpeed Performance Gauge
-1%
518.1 µs521.8 µs

Commits

Click on a commit to change the comparison range
Base
main
924f4de
-11.11%
fix: add version 20.1.7 back
e9d84fd
2 months ago
by shenxianpeng
-0.02%
docs: update readme and migration notes
0b8f9ab
2 months ago
by shenxianpeng
+0.07%
docs: update defacult version
cd08d50
2 months ago
by shenxianpeng
-0.07%
fix: clang-tidy does not support v21
4975283
2 months ago
by shenxianpeng
0%
chore: update failed case number
008459b
2 months ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs