Skip to content

[Chore] Very time-consuming when running git commit #152

@XinShuoWang

Description

@XinShuoWang

Chore Type

Other

Task Description

I found that when I run the git commit command, it is very time-consuming. I used the time command to measure this time, and it was approximately 90s long.

wangxinshuo.db@localhost:/data00/home/wangxinshuo.db/bolt$ time git commit -m "fix"
..........................
..........................
..........................

real    1m19.610s
user    1m30.461s
sys     0m4.324s

Motivation / Benefit

Make git commit run faster to provide a better developer experience.

Related Files (Optional)

No response

Implementation Plan (Optional)

  1. Only perform License checks on newly added files in pre-commit.
  2. Perform License checks on all files in CI.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciPipeline & resource management for continuous integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions