-
Notifications
You must be signed in to change notification settings - Fork 98
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
Lines of code per second #238
Comments
Did you do a release build of V with -prod? |
I didn't. I just ran:
followed by the previous steps. The compilation speed for |
well I know I have "beast" pc
almost 4 GZ, but I have with "v self -prod"
that means almost 591716 line / s (591K LOC / s) |
Cool @MatejMagat305 That's on par with the website's 500k loc/s with the tcc backend. |
@tedstoychev the hardware listed on the website is a bit more modern, hence the 2x speed diff. |
On the front page (https://vlang.io/) it says:
However when I try to reproduce this I get ≈40k LOC/s (i.e. ≈25s in total). Steps I made:
v run gen1m.v > result.v
time v result.v
System info:
Would it be a good idea to change the phrasing to:
The text was updated successfully, but these errors were encountered: