Modify

Opened 14 hours ago

#24677 new enhancement

[PATCH] Improved startup time by 33% through SVG handling optimization

Reported by: dnet Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Prerendering SVG icons and making all SVG loading async together lowered startup time on my machine by 33%. I added a simple two-line way of measuring startup time (see startup-measurement.diff) and produced the following output on my machine.

Before: (revision 19547 with only startup-measurement.diff applied)

2026-03-17 21:48:47.795 INFO: Startup complete in 13919 ms
2026-03-17 21:49:17.480 INFO: Startup complete in 13917 ms
2026-03-17 21:51:04.253 INFO: Startup complete in 13475 ms

After: (revision 19547 with both startup-measurement.diff and startup-performance.diff applied)

2026-03-17 23:26:31.053 INFO: Startup complete in 8902 ms
2026-03-17 23:26:48.479 INFO: Startup complete in 8870 ms
2026-03-17 23:27:04.865 INFO: Startup complete in 7950 ms

I tested on macOS 15.7.3, all tests ran, and pmd emitted no issues that affected either of the files my diffs touch.

Attachments (2)

startup-performance.diff (2.1 KB ) - added by dnet 14 hours ago.
the actual patch I would like to submit
startup-measurement.diff (948 bytes ) - added by dnet 14 hours ago.
a helper patch that allows simple yet precise (enough) measurement of startup time

Download all attachments as: .zip

Change History (2)

by dnet, 14 hours ago

Attachment: startup-performance.diff added

the actual patch I would like to submit

by dnet, 14 hours ago

Attachment: startup-measurement.diff added

a helper patch that allows simple yet precise (enough) measurement of startup time

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to dnet.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.