Opened 9 years ago

Last modified 8 years ago

#5582 assigned bug

[AboutSystem] is slow to appear

Reported by: diver Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


It is much more visible in VirtualBox where it takes up to 3 second to start. On real hw it almost instant, but you could see that right textview is white for a half of second. AboutSystem starts fast in hrev30012 in VirtualBox. BTW same goes to Terminal which on current images takes 3 second to launch, but almost instant in hrev30012. All other apps are starting much faster, even such big app like WebPositive is starting faster than AboutSystem and Terminal.

Attachments (3)

AboutSystem-profile.txt (88.9 KB) - added by bonefish 9 years ago.
output of "profile -f -i100 AboutSystem"
AboutSystem-profile-VirtualBox.txt (133.5 KB) - added by diver 9 years ago.
AboutSystem-locale-profile-VirtualBox.txt (132.5 KB) - added by diver 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by diver

It takes:

to start AboutSystem/Terminal in VirtualBox.

comment:2 Changed 9 years ago by bonefish

Owner: changed from bonefish to nobody
Status: newassigned

Changed 9 years ago by bonefish

Attachment: AboutSystem-profile.txt added

output of "profile -f -i100 AboutSystem"

comment:3 Changed 9 years ago by bonefish

Component: Applications/AboutSystemKits/Interface Kit
Version: R1/alpha1R1/Development

Added "profile" output taken in qemu (i.e. take with a grain of salt). From a quick look BTextView methods are the ones consuming a good deal of the time. That would also explain why things got gradually slower -- the amount of text in the text view has been getting more and more. profile's cachegrind output will allow for a better analysis, though.

Changed 9 years ago by diver

Changed 9 years ago by diver

comment:4 Changed 9 years ago by diver

I could be wrong, but I think that with locale set to some language it's even slower.

comment:5 Changed 8 years ago by diver

More stuff became slower in vbox recently, basically everything Locale related (e.g. Locale, Time). Localized apps feel slower too. Should I open new ticket or we don't care about Haiku performance in VirtualBox?

comment:6 Changed 8 years ago by stippi

The slowdown is indeed annoying and also noticeable on real hardware. The work on the Locale Kit should definitely be rounded up by an aggressive profiling and optimization phase... :-)

Note: See TracTickets for help on using tickets.