Start-up speed overhead of `dub run dscanner`

Mathias Lang geod24 at gmail.com
Mon Jan 27 17:58:48 UTC 2025


On Monday, 27 January 2025 at 17:04:39 UTC, Anonymouse wrote:
> Simplified:
>
> ```
> $ time ( for f in source/**/*.d; do dub run dscanner --nodeps 
> --vquiet -- -S --skipTests $f; done )
> 7,87s  user 3,33s system 99% cpu 11,304 total
>
> $ time ( for f in source/**/*.d; do /usr/bin/dscanner -S 
> --skipTests $f; done )
> 1,28s  user 0,45s system 100% cpu 1,725 total
> ```

Could you create an issue in dub with the `-v` output of one 
invocation to see where it's spending time ?


More information about the Digitalmars-d-learn mailing list