Opened 10 years ago

Last modified 7 months 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 10 years ago.
output of "profile -f -i100 AboutSystem"
AboutSystem-profile-VirtualBox.txt (133.5 KB ) - added by diver 10 years ago.
AboutSystem-locale-profile-VirtualBox.txt (132.5 KB ) - added by diver 10 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by diver, 10 years ago

It takes:

to start AboutSystem/Terminal in VirtualBox.

comment:2 by bonefish, 10 years ago

Owner: changed from bonefish to nobody
Status: newassigned

by bonefish, 10 years ago

Attachment: AboutSystem-profile.txt added

output of "profile -f -i100 AboutSystem"

comment:3 by bonefish, 10 years ago

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.

comment:4 by diver, 10 years ago

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

comment:5 by diver, 9 years ago

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 by stippi, 9 years ago

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... :-)

comment:7 by diver, 7 months ago

It takes 1 second now in VMware (hrev53129) with a speedy CPU. Still, too long for such a little app. And since I don't remember if there were any optimizations in Locale Kit I'm leaving it open.

Note: See TracTickets for help on using tickets.