Skip to content
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

Overhead caused by widening #71

Closed
yuyichao opened this issue Aug 19, 2017 · 0 comments
Closed

Overhead caused by widening #71

yuyichao opened this issue Aug 19, 2017 · 0 comments

Comments

@yuyichao
Copy link
Contributor

yuyichao commented Aug 19, 2017

After all, johnmyleswhite/Benchmarks.jl#36 is still present in this package....

julia> b1 = @benchmarkable rand($Float64); tune!(b1); run(b1)
BenchmarkTools.Trial:
  memory estimate:  16 bytes
  allocs estimate:  1
  --------------
  minimum time:     60.568 ns (0.00% GC)
  median time:      63.546 ns (0.00% GC)
  mean time:        71.347 ns (5.25% GC)
  maximum time:     25.763 μs (99.74% GC)
  --------------
  samples:          10000
  evals/sample:     982

julia> b2 = @benchmarkable rand(); tune!(b2); run(b2)
BenchmarkTools.Trial:
  memory estimate:  0 bytes
  allocs estimate:  0
  --------------
  minimum time:     3.432 ns (0.00% GC)
  median time:      3.962 ns (0.00% GC)
  mean time:        3.852 ns (0.00% GC)
  maximum time:     11.629 ns (0.00% GC)
  --------------
  samples:          10000
  evals/sample:     1000

AFAICT this affects BaseBenchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant