Files
loongoffice/include/svl
Armin Le Grand (allotropia) fd2aaac247 ITEM: Add measurements for SfxItemSet usages (debug only)
I was wondering how much of that arrays of pointers
to SfxPoolItems is actually used in the SfxItemSets in
real office runtime, so I added code now to measure that.

It does use the state of the ItemSet at destruction,
so it is possible that items were added/removed which
are not covered, but most cases of internal usages do
not do that.

I then check/sort the collected data at office shutdown,
it will be printed as SAL_INFO when svl.items/vcl.items
is set, so use this to see the data.

This gives info about the average space utilization in
different ItemSets with different sizes, also gives an
insight about used ItemSet sizes and amount of their
usages.

Of course results differ from app to app and dependent
of what is done with the office, but interestingly when
using quite some files opening from all apps it
toggles/normalizes to something around 20-25%...

Change-Id: I3eb2f0401c39a5bdb5d1d8176e95df07be4c111a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166455
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-04-23 09:39:47 +02:00
..
2024-03-22 11:47:36 +01:00
2024-03-22 11:47:36 +01:00
2024-03-17 13:06:48 +01:00
2024-03-22 11:47:36 +01:00
2024-04-20 12:14:50 +02:00
2024-04-04 19:58:14 +02:00
2024-03-08 07:06:13 +01:00