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 'Lines of Code' to listing #14

Open
void4 opened this issue Aug 28, 2018 · 2 comments
Open

Add 'Lines of Code' to listing #14

void4 opened this issue Aug 28, 2018 · 2 comments

Comments

@void4
Copy link

void4 commented Aug 28, 2018

It would be interesting to compare program complexity (of which LOC is some sort of measure) to the energy and time usage.

@ScottPJones
Copy link

I agree, however, it would be good to measure only lines with code on them, not whitespace, documentation strings or just comments, to not penalize people who actually try to write readable code!

@chipbuster
Copy link

Given the nature of the benchmarks, I'm not sure that LOC is a meaningful metric for them. However, if anyone is interested in trying this, the tokei tool can report total lines of code in various languages and differentiate between code, comments, and whitespace for most languages.

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

3 participants