Implement the application startup time probe as mozilla did in this (helpfully MPL2-licensed) patch: http://hg.mozilla.org/mozilla-central/rev/dfdf3e5dc749 , and hook that up with the profiling tinderbox Moggi is already running for Calc.
CCing developer list to Easy Hacks missing this.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
Re-evaluating the EasyHack in 2022 This enhancement is still relevant. Startup measurement with timestamps to achieve the detailed time taken for each part of the startup is very helpful to understand the cause of the slow start in order to improve startup time. Firefox provides a detailed measurement here: (values are dummy here) Firefox: about:telemetry -> Simple Measurements Property Value start 10 main 20 selectProfile 30 afterProfileLocked 40 startupCrashDetectionBegin 50 AMI_startup_begin 60 XPI_startup_begin 70 XPI_bootstrap_addons_begin 80 XPI_bootstrap_addons_end 90 XPI_startup_end 100 AMI_startup_end 110 sessionRestoreInit 120 XPI_finalUIStartup 130 sessionRestoreInitialized 140 createTopLevelWindow 150 firstPaint2 160 firstPaint 170 delayedStartupStarted 180 delayedStartupFinished 190 sessionRestored 200 startupCrashDetectionEnd 210 firstLoadURI 220 totalTime 230 startupInterrupted 0 debuggerAttached 0 activeTicks 10
I want to work on this issue, However, can you please tell me what this "profiling tinderbox" means?
(In reply to Khushi Gautam from comment #5) > I want to work on this issue, However, can you please tell me what this > "profiling tinderbox" means? It refers to this: https://ci.libreoffice.org/computer/centos7-callgrind/
(In reply to Buovjaga from comment #6) > (In reply to Khushi Gautam from comment #5) > > I want to work on this issue, However, can you please tell me what this > > "profiling tinderbox" means? > > It refers to this: https://ci.libreoffice.org/computer/centos7-callgrind/ Do we need to include testcase also besides tracking startup performance?
(In reply to Khushi Gautam from comment #7) > (In reply to Buovjaga from comment #6) > > (In reply to Khushi Gautam from comment #5) > > > I want to work on this issue, However, can you please tell me what this > > > "profiling tinderbox" means? > > > > It refers to this: https://ci.libreoffice.org/computer/centos7-callgrind/ > > Do we need to include testcase also besides tracking startup performance? If you mean a unit test, it does not seem necessary to me. I don't know what others think, but if you want to work on this, just go ahead instead of waiting for a consensus. A test can always be added later.
Venetia's patch on gerrit, if someone would like to review: https://gerrit.libreoffice.org/c/core/+/163965 Venetia, once merged, how would one access those measurements?
In this patch I have added the measurements as a SAL_INFO log. A further enhancement could be exporting it to a interface.
Venetia committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a82aaae3686daa7f40b4ba41e837d2e47408153c tdf#70526 Provide start up time measurements It will be available in 24.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Feel free to close as fixed.