[Mac] Opening a new window is slow (>0.5 sec)

NEW
Unassigned

Status

()

defect
P3
normal
8 years ago
8 months ago

People

(Reporter: BenWa, Unassigned)

Tracking

({regression})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Snappy:p2][tpi:+])

Filed from seeing: http://www.reddit.com/r/firefox/comments/rhdg4/os_x_aurora_13_users_are_new_windows_taking_a/

I can confirm that there is significant lag in opening a new window.

Profiling shows that we're spending time in GL, font loading and drawing.
Benoit, do you agree that this has gotten worse on the 13 branch?
I tried on 10.0.1 and it appears to be the same (if not worse). I feel like we can probably speed this up however.
(Original reporter here; thanks Benoit for filing.)

I did some comparisons between Aurora 13 and Beta 12 on my system.

In 12, there is a noticeable delay between the keypress and the new window appearing, but it's very slight.

In 13, the delay feels noticeably longer. I think what's happening is that the initial delay is the same, but in 13 the window then spends extra time animating into place instead of just appearing instantly. The two delays combine to become much more noticeable than the original delay.

So I suspect this is all an unfortunate side-effect of the new "new window" animation, rather than an actual performance regression.

(Does anyone have the bug number for the "new window" animation? I wasn't able to find it myself.)
(In reply to Stuart Cook from comment #3)
> Does anyone have the bug number for the "new window" animation?

bug 674370
Whiteboard: [Snappy] → [Snappy:p2]
Just to chime in as a normal user with my own testing:

I've switched back and forth between Firefox 12 and FF 13 several times now.  Each time, in FF12, new windows open very quickly, almost instantly.  Very satisfactory.  But with FF13, there is a short delay before the new window opens, and then the new window opening animation is a fair bit slower, to the point of being annoying.

When I restart FF13 in safe mode with addons disabled (I don't have many addons installed, FWIW), the delay is almost imperceptibly shorter, but still present; as is the annoying delay as a result of the animation.

If I may toss in my .02, I would highly suggest simply removing the animation.  It's a cute little visual trick, but honestly I think 99% of Firefox users would rather have an instant-open new window with as little fuss as possible.

If I can be of any further service in testing, I'd be happy to do so. cheers!
Silly me, forgot to include my specs--I'm running FF on my 2008 Macbook Pro (2.6GHz Intel Core 2 Duo, 4GB RAM) running 10.7.4 of OSX.
assuming comment 4 is correct - n.b. bug 674370 comment 29.  No other regressions are marked against bug 674370.

Is perf better/acceptable in current versions?
Blocks: 674370
Keywords: regression
FF 32b4 on Mac 10.9.latest, new window opens a fraction of a second slower than other browsers. Doesn't bother me, but I only use tabs, so I'm not the best judge.
(I forgot to needinfo BenWa)

(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #7)
> assuming comment 4 is correct - n.b. bug 674370 comment 29.  No other
> regressions are marked against bug 674370.
> 
> Is perf better/acceptable in current versions?
Flags: needinfo?(bgirard)
It's a bit slow but it's really far down my list of thing I'd like to optimize so I'd be very unlikely to actually work on this bug. But we would accept patches.
Flags: needinfo?(bgirard)
Whiteboard: [Snappy:p2] → [Snappy:p2][tpi:2]
Priority: -- → P2
Whiteboard: [Snappy:p2][tpi:2] → [Snappy:p2][tpi:+]
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0

I have tested this issue on Mac OS X 10.11 with the latest Firefox release (47.0) and the latest Nightly (50.0a1-20160616163918) and could not reproduce it.
Opening more windows of Firefox doesn't take more than 0.5s, when pressing command-N, a new window opens instantaneously.

Can you please retest this using the latest Firefox release and the latest Nightly build (https://nightly.mozilla.org/) and report back the results? When doing this, please use a new clean Firefox profile, maybe even safe mode, to eliminate custom settings as a possible cause (https://goo.gl/PNe90E).
Flags: needinfo?(bgirard)
Still the same as comment 10.
Flags: needinfo?(bgirard)
Priority: P2 → P3
This is still an issue 7 years later. Opening a new window on Windows is instantaneous, while on macOS it takes over 1s on 6-core i7.
You need to log in before you can comment on or make changes to this bug.