aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/manually/sizebench.py
Commit message (Collapse)AuthorAgeFilesLines
* binary size: Improve the benchmark toolChristian Tismer2025-02-171-18/+29
| | | | | | | | | | | | | | | | | | The benchmark tool now uses per default the limited API but is becoming more flexible. This will take some more checkins until it comes to convergence. The starting point stays 2025-01-27 right before a substantial change which is otherwise not measurable. The switchable size reductions will slowly vanish. The difference approach makes then no longer sense, and the --absolute switch will become the default and vanish. Task-number: PYSIDE-2701 Change-Id: I990ef26860924c10784a70ec74a2a318b4be7d41 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* binary size: Update the benchmark tool to absolute measurementChristian Tismer2025-02-071-9/+26
| | | | | | | | | | | | | | | | | | After sizebench.py was used successfully on relative changes (with a disable switch in the code), we now add an absolute mode. This way, we can stop to support switching. The starting point is 2025-01-27 right before a substantial change which is otherwise not measurable. The new mode is activated with --absolute / -a It works much faster since it compares against a constant. Task-number: PYSIDE-2701 Change-Id: I341a23722a304473e92f8ef38c6d16b3b69a8a92 Pick-to: 6.8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* sizebench: adapt classifiers on testCristián Maureira-Fredes2024-12-181-2/+2
| | | | | | | | | | the python classifiers were removed in c5880ced5b6cfc7a07af9d4e7079af563ceae089 so the test will fail. Change-Id: I58033f387bcebed76ca8b1bba18cc991975338d1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* size bench: Automate the Measurement of Size ImprovementsChristian Tismer2024-09-091-0/+151
This script makes it easy to measure the size reduction on all three platforms. Change-Id: I54a9cce6fd18ef58421445c2eeb688bd97eca956 Task-number: PYSIDE-2701 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>