Avatar for the cpp-linter user
cpp-linter
cpp-linter-hooks
BlogDocsChangelog

fix: move clang tools dependencies to optional

#92Merged
Comparing
shenxianpeng-patch-1
(
b8eb49e
) with
main
(
73af16b
)
CodSpeed Performance Gauge
-10%
Improvements
0
Regressions
1
Untouched
67
New
1
Dropped
0
Ignored
0

Benchmarks

Failed

test_run_clang_tidy_invalid[args4-1]Regression
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args4-1]
CodSpeed Performance Gauge
-10%
757.9 µs
845.3 µs

New

test_resolve_install_with_none_default_version
tests/test_util.py::test_resolve_install_with_none_default_version
CodSpeed Performance Gauge
N/A
N/A
1 ms

Passed

test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args1-1]
CodSpeed Performance Gauge
+1%
817.1 µs
810.2 µs
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args1-1]
CodSpeed Performance Gauge
0%
759 µs
755.6 µs
test_is_installed_with_shutil_which
tests/test_util.py::test_is_installed_with_shutil_which
CodSpeed Performance Gauge
0%
601.3 µs
598.7 µs
test_ensure_installed_no_runtime_version
tests/test_util.py::test_ensure_installed_no_runtime_version
CodSpeed Performance Gauge
0%
858 µs
854.7 µs
test_ensure_installed[clang-tidy-None]
tests/test_util.py::test_ensure_installed[clang-tidy-None]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
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_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[99-None]
tests/test_util.py::test_resolve_version_clang_format[99-None]
CodSpeed Performance Gauge
0%
251.9 µs
251.4 µs
test_install_tool_failure
tests/test_util.py::test_install_tool_failure
CodSpeed Performance Gauge
0%
1.4 ms
1.4 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%
913.4 µs
911.8 µs
test_resolve_version_clang_format[20.99-None]
tests/test_util.py::test_resolve_version_clang_format[20.99-None]
CodSpeed Performance Gauge
0%
248.6 µs
248.2 µs
test_resolve_install_no_version_specified
tests/test_util.py::test_resolve_install_no_version_specified
CodSpeed Performance Gauge
0%
930.4 µs
929.4 µ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_run_clang_format_valid[args0-expected_retval0]
tests/test_clang_format.py::test_run_clang_format_valid[args0-expected_retval0]
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_ensure_installed[clang-format-20]
tests/test_util.py::test_ensure_installed[clang-format-20]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
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_resolve_version_clang_format[invalid-None]
tests/test_util.py::test_resolve_version_clang_format[invalid-None]
CodSpeed Performance Gauge
0%
247.8 µs
247.6 µs
test_resolve_version_clang_tidy[99-None]
tests/test_util.py::test_resolve_version_clang_tidy[99-None]
CodSpeed Performance Gauge
0%
235.9 µs
235.7 µ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_resolve_install_tool_not_installed
tests/test_util.py::test_resolve_install_tool_not_installed
CodSpeed Performance Gauge
0%
934.8 µs
934.2 µs
test_get_runtime_version_clang_tidy_single_line
tests/test_util.py::test_get_runtime_version_clang_tidy_single_line
CodSpeed Performance Gauge
0%
507.3 µs
507.1 µs
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args0-1]
CodSpeed Performance Gauge
0%
788.8 µs
788.8 µs
test_install_tool_success
tests/test_util.py::test_install_tool_success
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_is_installed_not_found
tests/test_util.py::test_is_installed_not_found
CodSpeed Performance Gauge
0%
536.1 µs
536.2 µ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_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_get_runtime_version_clang_tidy
tests/test_util.py::test_get_runtime_version_clang_tidy
CodSpeed Performance Gauge
0%
512.2 µs
512.6 µs
test_run_clang_format_verbose
tests/test_clang_format.py::test_run_clang_format_verbose
CodSpeed Performance Gauge
0%
1 ms
1 ms
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args3-1]
CodSpeed Performance Gauge
0%
755.4 µs
757.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
936 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args5-1]
CodSpeed Performance Gauge
0%
807.4 µs
809.8 µs
test_ensure_installed[clang-format-None]
tests/test_util.py::test_ensure_installed[clang-format-None]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
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_get_runtime_version_clang_format
tests/test_util.py::test_get_runtime_version_clang_format
CodSpeed Performance Gauge
0%
509.7 µs
511.4 µs
test_resolve_version_clang_format[20.1-20.1.7]
tests/test_util.py::test_resolve_version_clang_format[20.1-20.1.7]
CodSpeed Performance Gauge
0%
131.9 µs
132.4 µs
test_run_clang_format_valid[args2-expected_retval2]
tests/test_clang_format.py::test_run_clang_format_valid[args2-expected_retval2]
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_get_runtime_version_exception
tests/test_util.py::test_get_runtime_version_exception
CodSpeed Performance Gauge
0%
517 µs
519 µs
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args2-1]
CodSpeed Performance Gauge
0%
960.5 µs
964.5 µs
test_resolve_version_clang_format[20-20.1.7]
tests/test_util.py::test_resolve_version_clang_format[20-20.1.7]
CodSpeed Performance Gauge
0%
132.1 µs
132.6 µ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[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args2-1]
CodSpeed Performance Gauge
0%
807.2 µs
811 µs
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[args0-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args0-1]
CodSpeed Performance Gauge
0%
829.2 µs
833.1 µ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%
141.9 µs
142.6 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args5-1]
CodSpeed Performance Gauge
0%
875.2 µs
879.6 µs
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args4-1]
CodSpeed Performance Gauge
-1%
876.8 µs
881.2 µs
test_get_version_from_dependency_missing_file
tests/test_util.py::test_get_version_from_dependency_missing_file
CodSpeed Performance Gauge
-1%
949.3 µs
954.3 µ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
-1%
92.8 µs
93.3 µs
test_resolve_version_clang_format[None-None]
tests/test_util.py::test_resolve_version_clang_format[None-None]
CodSpeed Performance Gauge
-1%
86.2 µs
86.7 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args1-1]
CodSpeed Performance Gauge
-1%
967.6 µs
972.8 µs
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args3-1]
CodSpeed Performance Gauge
-1%
810.5 µs
815.2 µ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
-1%
820 µs
824.7 µs
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
-1%
102.8 µs
103.4 µs
test_get_version_from_dependency_missing_dependency
tests/test_util.py::test_get_version_from_dependency_missing_dependency
CodSpeed Performance Gauge
-1%
1.4 ms
1.4 ms
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%
106.7 µs
107.3 µ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
-1%
1 ms
1 ms
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args2-1]
CodSpeed Performance Gauge
-1%
751.5 µs
756.4 µs
test_version_lists_not_empty
tests/test_util.py::test_version_lists_not_empty
CodSpeed Performance Gauge
-1%
110.3 µs
111.1 µs
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_invalid[args3-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args3-1]
CodSpeed Performance Gauge
-1%
882.3 µs
888.3 µ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
-1%
106.6 µs
107.4 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py::test_resolve_version_clang_tidy[None-None]
CodSpeed Performance Gauge
-1%
85.9 µs
86.5 µs
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args5-1]
CodSpeed Performance Gauge
-1%
750.6 µs
756.7 µs
test_default_versions
tests/test_util.py::test_default_versions
CodSpeed Performance Gauge
-1%
83.6 µs
84.3 µs
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args0-1]
CodSpeed Performance Gauge
-1%
726.3 µs
733.1 µ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
-1%
142.5 µs
143.9 µs
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args4-1]
CodSpeed Performance Gauge
-9%
817.9 µs
899.6 µs

Commits

Click on a commit to change the comparison range
Base
main
73af16b
0%
fix: remove fall back function
7e6bf7a
2 days ago
by shenxianpeng
0%
fix: get deps func
fb84f57
2 days ago
by shenxianpeng
-10%
fix: add setuptools for testing
3bbd310
2 days ago
by shenxianpeng
0%
fix: update pyproject.toml
7d82a56
2 days ago
by shenxianpeng
0%
fix: update tests
b8eb49e
2 days ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs