Closed wheeheee closed 8 months ago
managed to squeeze performance of filt!
to 2x on my device for _small_filt_fir
, N < 18, by omitting inbounds.
Bump, couldn't figure out how to make BenchmarkPlots
plot benchmarks in order, but the GitHub Actions tests take significantly less time to run (50 -> 30 minutes total usage). Some of this is maybe due to faster compilation for the generated functions. Tests in filt_stream.jl
benefit quite a lot.
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
453c7e6
) 97.46% compared to head (553b433
) 97.49%.
Files | Patch % | Lines |
---|---|---|
src/Filters/remez_fir.jl | 94.73% | 1 Missing :warning: |
src/dspbase.jl | 98.14% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@martinholters Ok to merge? Hope you don't mind the ping.
They were duplicates of each other except for the kernels so I edited the last one to accept all the FIRKernel
s and deleted the rest.
Ah, yes, of course. I had missed the edited one.
Merge? Also @wheeheee would you be ok to be invited to the organization to help maintain these packages?
I will say I don't have serious expertise in DSP, although I don't mind helping clean up issues / add documentation occasionally, and actually have a few more minor commits saved up to contribute.
Also, it might be good to do some benchmarking on other hardware for this commit. My laptop cpu (i5-1135g7) has avx512 instructions, which may possibly be the reason why the inbounds fiddling in _filt_fir!
works.
@wheeheee Thanks for helping with the maintenance here. Since we have approval here from @martinholters, it would be great to rebase and get this one merged.
Right, I think I'll just go ahead and merge to speed up CI. If the newest commits need modification, I'll open a PR later.
Thanks @wheeheee, any help here is appreciated. And also thanks @ViralBShah for pushing this forward.
Thanks @martinholters for all the work on this package, and @wheeheee for jumping in. We should see if there are other contributors who would like to step up as well. I'm just trying to help out - amazing how the small improvements over the last few days are making a big cosmetic difference at least.
si
(different from inputsi
)filt
currently errors forN>2
(edit: if the trailing dimensions aren't all of length 1); this PR doesn't change that