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

fix: get rid of `toml` and `packaging` and improve performance

#89Merged
Comparing
patch-1
(
0a4c0ba
) with
main
(
90a453d
)
CodSpeed Performance Gauge
-60%
Improvements
39
Regressions
5
Untouched
18
New
6
Dropped
6

Benchmarks

Failed

test_resolve_version_clang_tidy[19-19.1.0.1]Missing
tests/test_util.py::test_resolve_version_clang_tidy[19-19.1.0.1]
CodSpeed Performance Gauge
N/A
450.8 µsN/A
test_resolve_version_clang_format[18-18.1.8]Missing
tests/test_util.py::test_resolve_version_clang_format[18-18.1.8]
CodSpeed Performance Gauge
N/A
1.8 msN/A
test_resolve_version_clang_tidy[18-18.1.8]Missing
tests/test_util.py::test_resolve_version_clang_tidy[18-18.1.8]
CodSpeed Performance Gauge
N/A
446.5 µsN/A
test_resolve_version_clang_format[20.1-20.1.7]Missing
tests/test_util.py::test_resolve_version_clang_format[20.1-20.1.7]
CodSpeed Performance Gauge
N/A
2.1 msN/A
test_resolve_version_clang_format[20-20.1.7]Missing
tests/test_util.py::test_resolve_version_clang_format[20-20.1.7]
CodSpeed Performance Gauge
N/A
1.8 msN/A
test_resolve_version_clang_format[18.1-18.1.8]Missing
tests/test_util.py::test_resolve_version_clang_format[18.1-18.1.8]
CodSpeed Performance Gauge
N/A
2.1 msN/A
test_get_version_from_dependency_malformed_tomlRegression
tests/test_util.py::test_get_version_from_dependency_malformed_toml
CodSpeed Performance Gauge
-10%
1.3 ms1.4 ms
test_resolve_version_clang_format[invalid-None]Regression
tests/test_util.py::test_resolve_version_clang_format[invalid-None]
CodSpeed Performance Gauge
-60%
103.2 µs256.6 µs
test_get_version_from_dependency_missing_dependencyRegression
tests/test_util.py::test_get_version_from_dependency_missing_dependency
CodSpeed Performance Gauge
-10%
1.3 ms1.4 ms
test_get_version_from_dependency_successRegression
tests/test_util.py::test_get_version_from_dependency_success
CodSpeed Performance Gauge
-11%
1.4 ms1.6 ms
test_resolve_install_invalid_versionRegression
tests/test_util.py::test_resolve_install_invalid_version
CodSpeed Performance Gauge
-13%
936 µs1,074.6 µs

Improved

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
×18
1,669.2 µs93.5 µs
test_resolve_version_clang_format[20.99-None]
tests/test_util.py::test_resolve_version_clang_format[20.99-None]
CodSpeed Performance Gauge
×8.1
2,077.7 µs257.8 µs
test_resolve_version_clang_format[99-None]
tests/test_util.py::test_resolve_version_clang_format[99-None]
CodSpeed Performance Gauge
×6.9
1,800.6 µs259.5 µ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
×4.7
445.2 µs95.1 µs
test_run_clang_format_invalid[args4-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args4-1]
CodSpeed Performance Gauge
×3
2,556.9 µs853.5 µs
test_run_clang_format_invalid[args5-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args5-1]
CodSpeed Performance Gauge
×3
2,542.7 µs859.5 µ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
×2.9
2,382.5 µs824.5 µs
test_run_clang_format_invalid[args0-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args0-1]
CodSpeed Performance Gauge
×2.8
2,391.7 µs839.7 µs
test_ensure_installed_no_runtime_version
tests/test_util.py::test_ensure_installed_no_runtime_version
CodSpeed Performance Gauge
×2.8
2,431.3 µs855.7 µs
test_run_clang_format_invalid[args2-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args2-1]
CodSpeed Performance Gauge
×2.8
2,646.5 µs941.4 µs
test_run_clang_format_invalid[args1-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args1-1]
CodSpeed Performance Gauge
×2.8
2,630 µs942 µs
test_run_clang_format_invalid[args3-1]
tests/test_clang_format.py::test_run_clang_format_invalid[args3-1]
CodSpeed Performance Gauge
×2.7
2,563.6 µs944 µs
test_resolve_install_tool_already_installed_correct_version
tests/test_util.py::test_resolve_install_tool_already_installed_correct_version
CodSpeed Performance Gauge
×2.7
2,476.8 µs913 µ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
×2.7
2,678.3 µs992.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
×2.7
2,672.9 µs995.5 µs
test_resolve_install_tool_not_installed
tests/test_util.py::test_resolve_install_tool_not_installed
CodSpeed Performance Gauge
×2.7
2,508.8 µs935.5 µs
test_run_clang_format_verbose_error
tests/test_clang_format.py::test_run_clang_format_verbose_error
CodSpeed Performance Gauge
×2.6
2,478.5 µs935.5 µ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
×2.6
2.8 ms1.1 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
×2.6
2.8 ms1.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
×2.6
2.6 ms1 ms
test_run_clang_format_verbose
tests/test_clang_format.py::test_run_clang_format_verbose
CodSpeed Performance Gauge
×2.5
2.6 ms1 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
×2.5
2.7 ms1.1 ms
test_ensure_installed[clang-format-20]
tests/test_util.py::test_ensure_installed[clang-format-20]
CodSpeed Performance Gauge
×2.1
2.9 ms1.3 ms
test_ensure_installed_version_mismatch
tests/test_util.py::test_ensure_installed_version_mismatch
CodSpeed Performance Gauge
×2
3.1 ms1.5 ms
test_resolve_version_clang_tidy[99-None]
tests/test_util.py::test_resolve_version_clang_tidy[99-None]
CodSpeed Performance Gauge
+78%
431.9 µs242.6 µs
test_resolve_install_tool_version_mismatch
tests/test_util.py::test_resolve_install_tool_version_mismatch
CodSpeed Performance Gauge
+74%
3.6 ms2.1 ms
test_run_clang_tidy_invalid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args5-1]
CodSpeed Performance Gauge
+45%
1,082.9 µs745.5 µs
test_run_clang_tidy_invalid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args1-1]
CodSpeed Performance Gauge
+45%
1,089.8 µs750.2 µs
test_run_clang_tidy_invalid[args4-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args4-1]
CodSpeed Performance Gauge
+45%
1,085.4 µs749.5 µs
test_run_clang_tidy_invalid[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args2-1]
CodSpeed Performance Gauge
+45%
1,084.3 µs749.6 µs
test_run_clang_tidy_invalid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args0-1]
CodSpeed Performance Gauge
+44%
1,044.4 µs726.7 µs
test_run_clang_tidy_invalid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_invalid[args3-1]
CodSpeed Performance Gauge
+44%
1,084 µs754.5 µs
test_run_clang_tidy_valid[args4-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args4-1]
CodSpeed Performance Gauge
+42%
1,147.3 µs806.8 µs
test_run_clang_tidy_valid[args2-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args2-1]
CodSpeed Performance Gauge
+42%
1,140.6 µs803.5 µs
test_run_clang_tidy_valid[args5-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args5-1]
CodSpeed Performance Gauge
+42%
1,140.2 µs805 µs
test_run_clang_tidy_valid[args3-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args3-1]
CodSpeed Performance Gauge
+42%
1,138.7 µs804.1 µs
test_run_clang_tidy_valid[args1-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args1-1]
CodSpeed Performance Gauge
+41%
1,146.6 µs811.6 µs
test_run_clang_tidy_valid[args0-1]
tests/test_clang_tidy.py::test_run_clang_tidy_valid[args0-1]
CodSpeed Performance Gauge
+40%
1,107.7 µs790.1 µs
test_ensure_installed[clang-tidy-20]
tests/test_util.py::test_ensure_installed[clang-tidy-20]
CodSpeed Performance Gauge
+28%
1.5 ms1.2 ms

New

test_resolve_version_clang_format[18-18.1.0]
tests/test_util.py::test_resolve_version_clang_format[18-18.1.0]
CodSpeed Performance Gauge
N/A
N/A105.5 µs
test_resolve_version_clang_tidy[18-18.1.1]
tests/test_util.py::test_resolve_version_clang_tidy[18-18.1.1]
CodSpeed Performance Gauge
N/A
N/A93.8 µs
test_resolve_version_clang_tidy[19-19.1.0]
tests/test_util.py::test_resolve_version_clang_tidy[19-19.1.0]
CodSpeed Performance Gauge
N/A
N/A94.4 µs
test_resolve_version_clang_format[18.1-18.1.0]
tests/test_util.py::test_resolve_version_clang_format[18.1-18.1.0]
CodSpeed Performance Gauge
N/A
N/A105.8 µs
test_resolve_version_clang_format[20-20.1.0]
tests/test_util.py::test_resolve_version_clang_format[20-20.1.0]
CodSpeed Performance Gauge
N/A
N/A109 µs
test_resolve_version_clang_format[20.1-20.1.0]
tests/test_util.py::test_resolve_version_clang_format[20.1-20.1.0]
CodSpeed Performance Gauge
N/A
N/A108.8 µs

Passed

test_ensure_installed[clang-tidy-None]
tests/test_util.py::test_ensure_installed[clang-tidy-None]
CodSpeed Performance Gauge
+1%
1.2 ms1.2 ms
test_is_installed_not_found
tests/test_util.py::test_is_installed_not_found
CodSpeed Performance Gauge
0%
538.5 µs536.3 µs
test_get_runtime_version_clang_format
tests/test_util.py::test_get_runtime_version_clang_format
CodSpeed Performance Gauge
0%
512.2 µs510.8 µs
test_get_runtime_version_exception
tests/test_util.py::test_get_runtime_version_exception
CodSpeed Performance Gauge
0%
519.7 µs518.8 µs
test_ensure_installed[clang-format-None]
tests/test_util.py::test_ensure_installed[clang-format-None]
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_ensure_installed_tool_not_found
tests/test_util.py::test_ensure_installed_tool_not_found
CodSpeed Performance Gauge
0%
1 ms1 ms
test_resolve_install_no_version_specified
tests/test_util.py::test_resolve_install_no_version_specified
CodSpeed Performance Gauge
0%
932.1 µs930.8 µ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 ms1.1 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%
509.7 µs509.4 µs
test_is_installed_with_shutil_which
tests/test_util.py::test_is_installed_with_shutil_which
CodSpeed Performance Gauge
0%
603.4 µs603 µs
test_install_tool_success
tests/test_util.py::test_install_tool_success
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_install_tool_failure
tests/test_util.py::test_install_tool_failure
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_version_lists_not_empty
tests/test_util.py::test_version_lists_not_empty
CodSpeed Performance Gauge
0%
110.5 µs110.8 µs
test_get_runtime_version_clang_tidy
tests/test_util.py::test_get_runtime_version_clang_tidy
CodSpeed Performance Gauge
0%
512.1 µs514 µs
test_get_version_from_dependency_missing_file
tests/test_util.py::test_get_version_from_dependency_missing_file
CodSpeed Performance Gauge
0%
945.9 µs950 µs
test_resolve_version_clang_tidy[None-None]
tests/test_util.py::test_resolve_version_clang_tidy[None-None]
CodSpeed Performance Gauge
-1%
85.8 µs86.4 µs
test_default_versions
tests/test_util.py::test_default_versions
CodSpeed Performance Gauge
-1%
83.6 µs84.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.1 µs86.9 µs

Commits

Click on a commit to change the comparison range
Base
main
90a453d
-59.77%
fix: update tests
ba073f7
3 months ago
by shenxianpeng
-0.02%
fix: update run.sh
0a4c0ba
3 months ago
by shenxianpeng
© 2025 CodSpeed Technology
Home Terms Privacy Docs