Bug 27803 - Safari 4.0.x Top Sites extremely slow on initial load.
Summary: Safari 4.0.x Top Sites extremely slow on initial load.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-07-29 08:12 PDT by nemo
Modified: 2009-07-30 08:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nemo 2009-07-29 08:12:01 PDT
This bug will get moved out of Webkit by aroben.  Filing here since Apple's bug reporting system appears to not degrade gracefully like bugzilla does, and is non-functional in w3m.

On initial load of Safari 4 (4.0-4.0.2) on my Dell Latitude D820,  the Top Sites takes a long time (5-15 seconds) to load.  This is with nothing else running and well over 1½GiB of memory free.
In that time, most of Safari 4 is unresponsive.  For example, I'll be launching Safari to test a development URL, and will attempt to paste it into the URL bar.  The paste appears to fail so I'll try a few times.  Eventually, the browser responds once more and I see that I have the same URL pasted five times.

On subsequent loads, Top Sites is quick.

Result.  Frustration.  Poor user experience.
I've just learned I can disable it, which is something.

In the top sites list the list of sites is primarily some defaults created by Safari:
apple
yahoo
wikipedia
cnn
ebay
youtube

And some sites that were probably ones from my testing:
peacekeeper
google maps
internal test site
internal testcase
http://labs.pimsworld.org/wp-content/uploads/2009/04/demo-content-aware-image-resizing-2/
http://www.bitstampede.com/demos/css-transforms/
http://m8y.org/tmp/www.bitstampede.com/demos/css-transforms/

Additionally. If I open a new tab, click on (in this case labs.pimsworld.org) and then click close, the browser appears to once more become unresponsive.  Interestingly if I resize the window it is ok, which suggests that, unlike the other issue, this one might be a failure to redraw.  When it is doing this, both the pimsworld tab and top sites appear to be present with pimsworld active, although the tabs and content do not respond.  If I unmaximize/maximize, the tabs have once more disappeared and Top Sites is rendered.

My specifications are as follows:
Dell Latitude D820 with 2GiB of memory, dual core at 2.16ghz.
Safari 4.0.2
Windows XP Service pack 2
TrueCrypt drive encryption
Symantec Antivirus

I mention the last two since they could delay, say, file access.
Comment 1 Adam Roben (:aroben) 2009-07-29 08:12:48 PDT
<rdar://problem/7101772>
Comment 2 Adam Roben (:aroben) 2009-07-29 08:13:15 PDT
This bug will now be tracked in Radar. Thanks!
Comment 3 nemo 2009-07-30 08:27:02 PDT
Since I'm not seeing aroben on IRC and he's on the CC list.
I'd like to note also that in a conversation that started with:
"Safari is ridiculously fast"  a coworker made the same complaint.

His machine specs were likely similar - I linked him to this bug since the apple bug reporting is inaccessible.