[FEAT] Added performance monitoring #23

Merged
TomPlanche merged 1 commit from performance-monitoring into main 2025-09-12 11:58:24 +02:00
TomPlanche commented 2025-09-12 11:58:18 +02:00 (Migrated from github.com)
hooksmith run pre-commit --profile

This will show you:

  • Individual command execution times
  • Total hook execution time
  • Overall execution time when running multiple hooks

Example Output

⏱️  Hook execution summary:
  Hook 'pre-commit' (768ms)
    cargo fmt --all -- --check: 146ms
    cargo clippy --workspace --release --all-targets --all-fe...: 394ms
    typos: 226ms
  Total: 768ms
```bash hooksmith run pre-commit --profile ``` This will show you: - Individual command execution times - Total hook execution time - Overall execution time when running multiple hooks ### Example Output ``` ⏱️ Hook execution summary: Hook 'pre-commit' (768ms) cargo fmt --all -- --check: 146ms cargo clippy --workspace --release --all-targets --all-fe...: 394ms typos: 226ms Total: 768ms ```
sonarqubecloud[bot] commented 2025-09-12 11:59:11 +02:00 (Migrated from github.com)
## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=TomPlanche_hooksmith&pullRequest=23) **Quality Gate passed** Issues ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=TomPlanche_hooksmith&pullRequest=23&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=TomPlanche_hooksmith&pullRequest=23&issueStatuses=ACCEPTED) Measures ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=TomPlanche_hooksmith&pullRequest=23&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=TomPlanche_hooksmith&pullRequest=23&metric=new_coverage&view=list) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=TomPlanche_hooksmith&pullRequest=23&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=TomPlanche_hooksmith&pullRequest=23)
Sign in to join this conversation.
No description provided.