rqrr icon indicating copy to clipboard operation
rqrr copied to clipboard

Performance Regression with 0.9.0

Open mripard opened this issue 9 months ago • 1 comments

Hi,

I've updated rqrr to the latest version, and found a pretty noticeable performance drop when decoding a QR code from an image.

I've created a benchmark you can find here: https://github.com/mripard/rqrr/tree/rqrr-decode-frame-bench

On my box, an iteration goes from 3.5ms to 5.5ms on average:

qrcode detection        time:   [5.6411 ms 5.6475 ms 5.6546 ms]
                        change: [+60.041% +60.308% +60.559%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 11 outliers among 100 measurements (11.00%)
  8 (8.00%) high mild
  3 (3.00%) high severe

mripard avatar Mar 27 '25 14:03 mripard

I expect this is caused by #30 I don't really have time to look into that right now.

WanzenBug avatar Mar 31 '25 06:03 WanzenBug