Libraw slowdown when updating 19.2 to 20.2

Hi everyone,

I was using libraw 0.19.2 in my application for reading raw images. Once I decided to upgrade to 0.20.2 version image import obviously slowed down.
I would like to know if there is any specific reason for that, or maybe some new functionality has been added for importing that I miss for new version.

Just to note that in my app, both 19.2 and 20.2 were running the same code. Output data is the same but t_20.2 = t_19.2 * 2.

Please find code example bellow.

	LibRaw proc;
	setting some parameters here
	proc.get_mem_image_format(&width, &height, &colorspace, &bps);
	const auto stride = width * (bps / 8) * colors;
	proc.copy_mem_image(outputImage, stride, 0);


It probably makes sense to

It probably makes sense to take more detailed measurements

-- Alex Tutubalin @LibRaw LLC

Thanks for your response,

Thanks for your response,

But I would like to know what you mean with more detailed measurements?

So the behavior is quite ok-ish ? And depends on image 19.2 or 20.2 can win the race?

Thanks in advance.

>what you mean with more

>what you mean with more detailed measurements?

Something like detailed performance profiling (with any avail. tool). The question is: what function is slower in v 0.20 compared to 0.19

-- Alex Tutubalin @LibRaw LLC