You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now from these results, it seems interpolation is slower than the other two
methods. I take it the most important is the very right value in () parens.
But I am not sure if I interprete this correctly.
Would it be possible for ruby to add a "verbose" output result, aka a
human-readable summary? With that I mean something like "did you
mean" gem, but adjusted to benchmark interpretation.
Something like:
"The above results indicate that interpolation (1) is fastest, whereas the
other two methods are -15% (2) and -14% (3) slower."
The above sentence should just indicate what I am trying to convey.
I'd like for benchmark to become more useful to normal people without
a PhD. Just like the did-you-mean gem, which is super-simple and
suggests what could be wrong. Sometimes this is not quite correct,
but most of the time did-you-mean is super-correct and easy to
understand. Benchmark evaluation are not so easy to understand
and I'd like a dedicated "report" subsystem there, that is human-readable.
Aka the output should be simpler, and using that subsystem in the
benchmarks module should ALSO be super-simple, even the default;
or, if not the default, then a simple option, a simple API, to call it,
such as:
If added then this should also be documented, at the least with one
usage example, so people can quickly start incorporating this into
their own benchmarks.
The text was updated successfully, but these errors were encountered:
The ruby benchmark ecosystem is quite nice; it reports things, aka what is faster
aka more efficient.
Take the following old code I have:
Results are:
Now from these results, it seems interpolation is slower than the other two
methods. I take it the most important is the very right value in () parens.
But I am not sure if I interprete this correctly.
Would it be possible for ruby to add a "verbose" output result, aka a
human-readable summary? With that I mean something like "did you
mean" gem, but adjusted to benchmark interpretation.
Something like:
"The above results indicate that interpolation (1) is fastest, whereas the
other two methods are -15% (2) and -14% (3) slower."
The above sentence should just indicate what I am trying to convey.
I'd like for benchmark to become more useful to normal people without
a PhD. Just like the did-you-mean gem, which is super-simple and
suggests what could be wrong. Sometimes this is not quite correct,
but most of the time did-you-mean is super-correct and easy to
understand. Benchmark evaluation are not so easy to understand
and I'd like a dedicated "report" subsystem there, that is human-readable.
Aka the output should be simpler, and using that subsystem in the
benchmarks module should ALSO be super-simple, even the default;
or, if not the default, then a simple option, a simple API, to call it,
such as:
Or API-wise:
Or some other, somewhat similar name.
If added then this should also be documented, at the least with one
usage example, so people can quickly start incorporating this into
their own benchmarks.
The text was updated successfully, but these errors were encountered: