-
Notifications
You must be signed in to change notification settings - Fork 57
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
Setup uri-bench to build benchmarking code. #166
Conversation
@tmcgilchrist was this closed intentionally? I think the CI issue is still present in master. If this was intentional, can you share more context on why this PR wasn't the right way forward? |
This was only closed because I didn’t have time to follow through with it.
I’ll try to find some time today to reopen this.
The approach is still the right thing to do. It comes with the small
downside that future dune-release based releases need to avoid adding
uri-bench to opam repository. Dune-release could be improved to handle
excluding certain pacakages?
The larger issue with opam / dune is they don’t have a concept of a
benchmarking package.
…On Tue, 7 Mar 2023 at 1:14 am, torinnd ***@***.***> wrote:
@tmcgilchrist <https://github.com/tmcgilchrist> was this closed
intentionally? I think the CI issue is still present in master. If this was
intentional, can you share more context on why this PR wasn't the right way
forward?
—
Reply to this email directly, view it on GitHub
<#166 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABJXOMWER5KESORXFP55PLW2XWLXANCNFSM6AAAAAAUG4XPTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Why's a benchmarking package special (it's just an executable with extra dependencies), and why not publish it also to opam-repo? It would be useful to have benchmarking tools available quickly via opam as well, and as a separate package, it wouldn't really cause any additional friction to normal |
It's an artefact that is only interesting to developers of this package, so I don't see value in including it in opam-repository. My ideal setup is to have support for |
It's useful to have benchmarking executables also available via the package manager. They don't get in the way, and sometimes I just want to run quick tests across a couple of different compilers. Being able to Or to put it another way -- I'd rather fix the CI in uri with a published |
8de1621
to
7e01e04
Compare
Use the lowest bound on crowbar (4.08) as the earliest supported OCaml version.
@avsm updated the top comment and everything is building now. Please have a look |
CHANGES: * Add `Uri.Absolute_http`, an RFC9110-compliance specialization of a `Uri.t`. (mirage/ocaml-uri#164 mirage/ocaml-uri#162 @torinnd). * Add a `uri-bench` package for the benchmarking dependencies in this repository (mirage/ocaml-uri#166 @tmcgilchrist).
CHANGES: * Add `Uri.Absolute_http`, an RFC9110-compliance specialization of a `Uri.t`. (mirage/ocaml-uri#164 mirage/ocaml-uri#162 @torinnd). * Add a `uri-bench` package for the benchmarking dependencies in this repository (mirage/ocaml-uri#166 @tmcgilchrist).
Fix for #165