Skip to content

perf: pre-compute FFT plan#16

Open
johnnychen94 wants to merge 2 commits into
masterfrom
jc/fft_tweak
Open

perf: pre-compute FFT plan#16
johnnychen94 wants to merge 2 commits into
masterfrom
jc/fft_tweak

Conversation

@johnnychen94
Copy link
Copy Markdown
Member

using TestImages
using ImageSmooth

img = testimage("cameraman")

fₛ = L0Smooth() # using default arguements
imgₛ = smooth(img, fₛ)

This drops the runtime from ~280ms to ~240ms in my machine.

cc: @JKay0327

This makes it faster to compute fft/ifft inside the core loop
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 17, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (58354b6) compared to base (d1a9afb).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          110       110           
=========================================
  Hits           110       110           
Impacted Files Coverage Δ
src/algorithms/l0_smooth.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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

Successfully merging this pull request may close these issues.

1 participant