Summary: | Intermittent performance problem on large table | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Samuel Allen <allen.sam> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | eric, ian, jchaffraix, rniwa | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Samuel Allen
2005-08-05 17:03:48 PDT
Created attachment 3234 [details]
Test file
This might only show the problem when you load the file from the hard disk directly. This occurs much less often in recent builds of WebKit, but after enough tries I can still reproduce the 4- second load time. A couple notes: First, the performance problem is much less likely to occur now, although it does occasionally occur. Usually, the first load is as fast as subsequent loads. Second, the version of Safari shipped with Tiger also has this bug, and it occurs about as often as it does in the ToT. So, the "regression" part of this bug seems to be fixed, but I won't close the bug completely because the first load of this page still sometimes is very slow. Old Safaris with local files used to map them entirely into memory, lock up the UI, and then do one render. This made the overall render time faster but the tradeoff was that nothing would show at all until the entire file was parsed. Newer Safaris will do multiple layouts for large local files, showing you stuff really quickly and then streaming in content. This means that the overall time will go up significantly, but the end result in most cases is that the UI is more responsive. This could be a pathological case since it's a table, and we could be hitting performance bugs in incremental table rendering. Reassigning back to webkit-unassigned. Probably still worth profiling. I don't see any intermittent problem. Takes 5s to render on my retina MBP (using a slow connection to the interblags). Should be trivial to just drop this file into PerformanceTests and run run-perf-tests --profile test.html. If the sample looks reasonable than we should just close this bug. I think any bugs to be found here are already covered by bug https://github.com/dglazkov/performance-tests. |