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

benchmarks page to track compilation speed #49

Open
delasy opened this issue Jan 5, 2023 · 3 comments
Open

benchmarks page to track compilation speed #49

delasy opened this issue Jan 5, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@delasy
Copy link
Member

delasy commented Jan 5, 2023

Features needed:

  1. test every latest commit in thelang-io/the that is not marked [skip ci]
  2. pagination of tests
  3. columns (date time, commit, commit message truncated max 60 chars)
  4. size of generated executable of itself

Tests:

  1. test compilation of itself (core)
  2. test compilation of CLI
  3. test compilation of hello world program
  4. test compilation of empty program
@delasy delasy added the enhancement New feature or request label Jan 5, 2023
@delasy delasy added this to the v1.0 milestone Jan 5, 2023
@delasy delasy self-assigned this Jan 5, 2023
@epompeii
Copy link

Hey @delasy, I've been working on a continuous benchmarking tool to help with this sort of thing, Bencher: https://github.com/bencherdev/bencher

It supports arbitrary kinds of metrics so it should be able to store and detect performance regressions in all of the use cases that you listed above.
I've also compiled a list of prior art, so if you want to see what some other programming languages have done to track their performance that may also be useful: https://bencher.dev/docs/reference/prior-art

@delasy delasy changed the title benchmarks page to track down compilation speed benchmarks page to track compilation speed Apr 17, 2023
@delasy
Copy link
Member Author

delasy commented Apr 17, 2023

@epompeii wow your solution looks awesome! Though I need one-page solution that can integrate with existing CI server I have. Also one of requirements is to support The programming language, which I don't think you have plans to support.
If anything of above changes please let me know, I will reconsider my decision!

@epompeii
Copy link

Thanks!

Can you explain the one page solution a bit more?

Bencher should be able to support The Programming Language as is. The benchmark output would just need to be in the expected JSON format: https://bencher.dev/docs/explanation/adapters

@delasy delasy modified the milestones: v1.0, v0.15 May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants