[Interest] Material controls memory usage

Mitch Curtis mitch.curtis at qt.io
Tue May 11 11:09:26 CEST 2021


Hi.

> -----Original Message-----
> From: Interest <interest-bounces at qt-project.org> On Behalf Of nus1998
> Sent: Tuesday, 11 May 2021 3:11 AM
> To: interest at qt-project.org
> Subject: [Interest] Material controls memory usage
> 
> Hi All,
> 
> I made a simple comparison that it looks material controls cost  70 times
> memory as normal quick controls, is it expected?

It's expected that it's more memory-intensive than most styles, but 70 times sounds a bit excessive. Can you please report this at bugreports.qt.io?

Cheers.

> my OS is win10 x64, with Qt 5.15.2 mingw64, here are the results:
> 
> button count
> normal button memory usage(MB)
> material button memory usage (MB)
> 100
> 
> 24.2
> 
> 130
> 
> 300
> 
> 27.7
> 
> 343
> 
> 500
> 
> 30.9
> 
> 555
> 
> avg. per 200 buttons:
> 3.35
> 
> 212.5
> 
> 
> 
> 
> 
> 



More information about the Interest mailing list