jmeaster30 / SharperImage

An image encoder/decoder/processor
MIT License
1 stars 0 forks source link

Kernel filter performance is poor #16

Open jmeaster30 opened 8 months ago

jmeaster30 commented 8 months ago

I made a box blur filter and ran a 20x20 box blur on a 768x512px image and it took 19.818 seconds to render.

Need some speed comparisons with sophisticated applications to see if I am on par or if there is some improvements I need to make.

It is processing 157,286,400 pixels when just doing invert (which takes .062 seconds) processes 393, 216 pixels

Looks like this is a 19.818 / 0.062 = 319.645 times difference when the number of pixels being processed is 400x more.

I think the performance could be improved but it would likely involve improving performance across the board