[Development] QML Demo has a higher memory usage than Wdiget Demo

YaNing Lu dluyaning at gmail.com
Thu Jun 16 14:32:58 CEST 2022


>You didn't answer the question.>>The difference is that QML is a different technology from widgets.>>If you want more details, please use a memory profiler to size the heap (as >opposed to memory mappings) and find out consumes most memory.


Thanks Thiago,


I understand that my program has a high memory footprint, which has a
lot to do with my implementation, so I just wrote the demo for comparison.
QML and widgets use different technologies, can I understand the meaning
of no comparison between qml and widgets programs.


BTW, I re-uploaded my demo in https://bugreports.qt.io/browse/QTBUG-104322.
In fact, my problem is that there are two:

Why does qml have higher memory usage than widgets.(At present, I am also

analyzing through source code and memory detection tools)

If optimized based on qml demo, how to make its memory usage consistent
with widget demo or similar.


Regards,
--
Lu YaNing


Thiago Macieira <thiago.macieira at intel.com> 于2022年6月15日周三 16:05写道:

> On Wednesday, 15 June 2022 02:51:27 PDT YaNing Lu wrote:
> > We read the USS of the demo for comparison, and the following is the
> > comparison data.
> >
> > 5.15.2
> > qml-demo : 31.3M
> > widget-demo : 24.7M
> >
> > 6.2.4
> > qml-demo : 36.0M
> > widget-demo : 22.4M
>
> What are you measuring here? What tool did you use?
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Cloud Software Architect - Intel DCAI Cloud Engineering
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220616/3ee126dc/attachment.htm>


More information about the Development mailing list