Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loc as extras #6

Open
non-descriptive opened this issue Apr 17, 2019 · 2 comments
Open

Add loc as extras #6

non-descriptive opened this issue Apr 17, 2019 · 2 comments

Comments

@non-descriptive
Copy link

https://github.com/cgag/loc
fastest counter of lines of code. crossplatform

@non-descriptive non-descriptive changed the title Add `loc' as extras Add loc as extras Apr 17, 2019
@nerosnm
Copy link

nerosnm commented May 7, 2019

I would suggest that tokei be added instead - even the author states in the README for loc that tokei should be used instead.

@non-descriptive
Copy link
Author

loc's author encourages to try both to compare not use istead.
tokei considered as more accurate. It have more categories, warns on invalid utf sequence inputs and mark according categories as innacurate. And it's really hard to measure how much - differences for the same codebases and same categories differs up to 100k pure lines in both directions. tokei have ~12% larger binary size. It's 50% slower on 10k+ file/2M+ sloc codebase and almost 2 times slower on 30k files/9M+ sloc codebase with almost similar outputs.
As extra feature loc has --include filter aside --exclude.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants