Alex Sayers

Results 28 comments of Alex Sayers

I think that’s what I had in mind in https://github.com/asayers/easybench-rs/issues/1#issuecomment-350602671, but I’m a bit unsure about it now. One complication is that when there are only 2 samples the R²...

This is pretty quick 'n' easy to do with the standard library: ```rust let ts = std::time::Instant::now(); my_function(); println!("{:?}", ts.elapsed()); ``` Were you imagining something more complicated than that?

Sorry for the radio silence on this. The reason I haven’t merged this yet is that the very_slow test seems to be failing on this branch, and I haven’t had...

If we passed ownership of the environment to the closure, the environment would be dropped before the closure returns, and the time taken to run the destructor would be included...

Nice, I didn't know about csvlens - thanks! I'll link to it in the README. Out of interest, do you know how they get away without redrawing the whole screen...

Sure, I’ll have a go. Haven’t used homebrew in many years though.

Writing a formula seems straightfoward, but it looks like it's not much use unless I make a tap - is that right?

Thanks for taking the time to investigate! I can imagine a way you could optimise down-arrow: draw the new row at the bottom, pushing the header off the top of...