-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Draft: Save timings to Bencher #2
base: master
Are you sure you want to change the base?
Conversation
Thanks! I think the concept here looks good. The actual nuts & bolts is probably not quite right though. I think the biggest issue is that bencher submission shouldn't be tied to measurement. Measurement is S..L..O..W. Instead, I think there should be a new sub-command called bencher that uses the results produced by Otherwise, a smallish nit is that we shouldn't bring in dependencies for trivial things like generating slugs. Now, the deunicoding part of that isn't trivial. But! Engine names are already pretty restricted and limited to ASCII. Which makes the
I think I'd actually rather just have Sorry I am cranky about dependencies. It's just way too easy to add them and end up in a situation where you need to build hundreds of crates. |
Sounds good!
Ah! I did not see that. I will just substitute
That works for me. |
Ah interesting. Yeah, I do hope engines won't get renamed, but it is very possibly that I have my taxonomy or classification incorrect in some way. But yeah, let's not worry about that right now. |
Since we're keeping the CLI, we could use There are some trade offs though. This would keep you from having to manually adding every new engine to Bencher. Though, the update process in the case of a name change would still be manual. |
This updated switches from Bencher being a flag under I've create a new metric kind named |
This is looking much better, thank you. I'm not sure when I'll get around to experimenting with this. Hopefully soon. If it's okay with you, I might not actually bring this specific PR in, but rather, use your |
This is a first pass at saving
rebar
timings to Bencher.The CLI has to already be installed in order for things to work. In a follow up, this requirement will be removed, and we'll just send the POST request ourselves. Having Bencher publish its types would make this easier, so I'll do that first.
My main goal with this draft PR is to just get general feedback and input both on code and the matching of the
rebar
model up with the Bencher model.