Skip to content

Lines of code per second #238

@ghost

Description

On the front page (https://vlang.io/) it says:

V compiles ≈110k (Clang backend) lines of code per second
(Intel i5-7500, SM0256L SSD, no optimization)

However when I try to reproduce this I get ≈40k LOC/s (i.e. ≈25s in total). Steps I made:

  • downloaded tools/gen1m.v
  • ran v run gen1m.v > result.v
  • ran time v result.v

System info:

  • MacBook Pro 13" (2015) (Intel i5 2.9 GHz, SM0512G SSD)
  • V v0.3.2 d3e4058
  • Clang compiler

Would it be a good idea to change the phrasing to:

V compiles up to ≈110k (Clang backend) lines of code per second

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions