JuliaGeometry / Contour.jl

Calculating contour curves for 2D scalar fields in Julia
Other
43 stars 13 forks source link

Sjk/lut1 #49

Closed sjkelly closed 4 years ago

sjkelly commented 4 years ago

Master:

contour
1-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "testdata" => BenchmarkTools.Trial: 
      memory estimate:  2.22 MiB
      allocs estimate:  21188
      --------------
      minimum time:     2.405 ms (0.00% GC)
      median time:      2.667 ms (0.00% GC)
      mean time:        2.779 ms (3.18% GC)
      maximum time:     6.316 ms (28.09% GC)
      --------------
      samples:          1794
      evals/sample:     1

This branch:

contour
1-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "testdata" => BenchmarkTools.Trial: 
      memory estimate:  1013.42 KiB
      allocs estimate:  1189
      --------------
      minimum time:     1.828 ms (0.00% GC)
      median time:      2.052 ms (0.00% GC)
      mean time:        2.139 ms (1.24% GC)
      maximum time:     5.281 ms (0.00% GC)
      --------------
      samples:          2329
      evals/sample:     1

I need to add comments and squash.

sjkelly commented 4 years ago

With bit packing and removing tuples for ambiguous cases:

contour
1-element BenchmarkTools.BenchmarkGroup:
  tags: []
  "testdata" => BenchmarkTools.Trial: 
      memory estimate:  759.28 KiB
      allocs estimate:  1189
      --------------
      minimum time:     1.471 ms (0.00% GC)
      median time:      1.636 ms (0.00% GC)
      mean time:        1.666 ms (1.60% GC)
      maximum time:     3.942 ms (0.00% GC)
      --------------
      samples:          2992
      evals/sample:     1
sjkelly commented 4 years ago

Closing in favor of #50