Closed Bug 451028 Opened 16 years ago Closed 16 years ago

Bug 447739 regressed performance on 64bit Linux

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Swatinem, Assigned: roc)

References

()

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

With the patch from bug 447739 applied, the performance of the scrollmark test drops to ~122280ms, which is even below 1.9.0 level (Which is ~72532ms)
Without the patch, the performance was roughly 20s with the iframe fully visible.

System: Ubuntu Hardy 64bit
Assignee: nobody → roc
Flags: blocking1.9.1?
Interesting, I can actually reproduce this on Mac (debug). QuartzDebug shows that the problem is we're painting too large an area, we seem to basically be painting two lines instead of one at every scroll operation.
Attached patch fixSplinter Review
This fixes it for me. Arpad, if you're able to test this, I'd appreciate it.

Sorry David, I know you asked me to check those additions, and I did, but I still got it wrong. The excluded area should not be translated, we've already intersected r with r+aDelta so that's the absolute area (relative to the reference frame) that we don't need to invalidate and no further translation is necessary. Additional translation means we've started using r+2*aDelta which is obviously wrong.

I checked this does not regress bug 447739.
Attachment #334376 - Flags: superreview?(dbaron)
Attachment #334376 - Flags: review?(dbaron)
This patch got me back to 20437ms on the scrollmark in the case of a fully visible iframe, but I get 126106ms with a partially offscreen one.
Thats weird.
Attachment #334376 - Flags: superreview?(dbaron)
Attachment #334376 - Flags: superreview+
Attachment #334376 - Flags: review?(dbaron)
Attachment #334376 - Flags: review+
Pushed 40bd4f8a989d.

Arpad, I'm afraid that if you still see the problem in a nightly build you'd better file yet another bug.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: blocking1.9.1? → blocking1.9.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: