Kristoffer Carlsson

Results 1609 comments of Kristoffer Carlsson

> First they came for `@benchmark`... I think there is great value in having `@btime` only show the number which is in most cases useful which is the minimum. For...

The issue is that for cases where you would use `@btime` over `@benchmark` the mean is a worse statistic than the mean. If you want to show extra stuff, perhaps...

Ref https://github.com/JuliaCI/BenchmarkTools.jl/pull/37#issuecomment-274358889. `@btime` is perfect for most use cases where you would want to use BenchmarkTools and I am kindly asking not to change it. Feel free to add a...

> And if I include these functions as part of some larger long-running loop, then it seems the mean doesn't do badly as a prediction of how long the overall...

Yes, call it something else.

Yeah, I noticed this when reading https://discourse.julialang.org/t/when-does-the-garbage-collector-runs/15142/3 (which made me make https://github.com/JuliaCI/BenchmarkTools.jl/pull/117 but that, of course, doesn't change that values get captured in the generated function). Is there any way...

Since the times for all the samples are there, they are pretty big yes.

Oh, I guess I should have pushed to this repo. It's pretty easy to preview it locally though.

I'll merge this now since the binaries are updated but if someone feels something more should be added, it can easily be added post merge.

https://github.com/JuliaLang/www.julialang.org/pull/1736