Skip to content

Enhance this hooks performance with large codebase #62

Closed as not planned
@shenxianpeng

Description

@shenxianpeng

Tested with the following config for https://github.com/ggml-org/llama.cpp, it takes much longer than expected.

Need to try to find a way to enhance performance.

- repo: https://github.com/cpp-linter/cpp-linter-hooks
  rev: v0.6.1
  hooks:
  -   id: clang-format
      args: [--style=file, --version=16]  # to load .clang-format
  -   id: clang-tidy
      args: [--checks=.clang-tidy, --version=16] # path/to/.clang-tidy

Note to myself: It would be better to try other similar tools' performance; maybe it is not only for cpp-linter-hooks.


Executed in 18.21 mins fish external
usr time 30.43 mins 302.00 micros 30.43 mins
sys time 0.28 mins 483.00 micros 0.28 mins

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions