Closed Bug 513577 Opened 16 years ago Closed 16 years ago

XUL`gfxContextAutoSaveRestore::Reset(gfxContext*) takes 2.8s during startup

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: joelr, Unassigned)

Details

(Whiteboard: [ts])

See my notes at https://wiki.mozilla.org/Firefox/Projects/Startup_Time_Improvements/joelr_notes#August_30.2C_2009 for 10 more stack traces. XUL`gfxContextAutoSaveRestore::Reset(gfxContext*)+0xbcf XUL`gfxImageSurface::Height() const+0x30ee3 XUL`gfxImageSurface::Height() const+0x19044 XUL`gfxImageSurface::Height() const+0x19182 XUL`gfxImageSurface::Height() const+0x25bcc XUL`gfxUserFontSet::Release()+0x77c6 XUL`gfxRect::Scale(double, double)+0x11e953 XUL`gfxRect::Scale(double, double)+0x11f57c XUL`gfxRect::Scale(double, double)+0x1231f8 XUL`gfxRect::Scale(double, double)+0x1236d9 XUL`DumpJSValue+0xd5c85 XUL`DumpJSValue+0x1b0287 XUL`DumpJSValue+0xaf696 XUL`DumpJSValue+0xafe5a XUL`NS_UTF16ToCString_P+0x2588c XUL`NS_GetComponentRegistrar_P+0xa266 XUL`non-virtual thunk to nsPrintSession::QueryInterface(nsID const&, void**)+0x51e7b XUL`TicksToEventTime+0x197df XUL`NewEventHandlerUPP+0x137ee CoreFoundation`__CFRunLoopDoSources0+0x61b I'm not sure what to do about this one as it's being called from all over the place!
Whiteboard: [ts]
Component: General → Graphics
Product: Firefox → Core
QA Contact: general → thebes
This is a non-issue, this bug should be closed. Enabling optimizations gives this hot path instead: XUL`DumpJSValue 3600 firefox-bin`0x0 1360 0x56f0b971 2 0x570e96e5 1 0x570e02df 1 ... Notice no gfxContextAutoSaveRestore::Reset. Serves me well for testing with ''ac_add_options --disable-optimize''
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.