fralx / LimeReport

Report generator for Qt Framework
http://limereport.ru/
Other
402 stars 151 forks source link

Speed optimisation for slower machines #255

Open Athesis opened 4 years ago

Athesis commented 4 years ago

Hi,

I'm an happy user of LimeReport, but I got some problems on slower machines (1,44GhZ Intel Atom Z8300) where LimeReport uses up to 12 seconds for "createPreviewScene" or "printReport". I used 1.5.0 and updated to 1.5.35 now with keeping the same issue.

Can you give some tips for optimisation and / or finding the issue?

Thankyou! ~Athesis

fralx commented 4 years ago

Hi. Could you show me the report template used for render? Please check the optimization of data sources.

Athesis commented 4 years ago

Hi,

Sure, but I don't have any data sources in the file I tested with: t_28x89.zip

There is also no significant difference between a file with or without any data sources. b_28x89.zip

These slower machines don't really have any "heavy lifting" to do on these reports, that's why I'm asking about. I also never experienced any issues on the faster machines (like my main dev machine), that's why I was asking for where I start looking for this issue.

Maybe interesting additional info: The CPU core LimeReport is running on never get's above 20% workload.

fralx commented 4 years ago

Ups, I am very surprised.
Which OS is installed on the machine. Does it have enough memory? Honestly, I didn't test LimeReport on atom but some people test it on raspberry pi and got rather good performance ( they said that no big difference with a desktop on simple reports ).