https://bugzilla.wikimedia.org/show_bug.cgi?id=49935

--- Comment #30 from kipod <fur.hew...@gmail.com> ---
(In reply to comment #29)
> Firebug profiler reports 9210 calls & 20186.226ms in 
> 
> http://bits.wikimedia.org/hr.wikipedia.org/load.
> php?debug=false&lang=hr&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.
> triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.
> MwEmbedSupport&only=scripts&skin=monobook&version=20130620T163512Z
> 
> Total is (22094.644ms, 152876 calls), so above is 91.36 %.

can you run the same profiling again, but with "?debug=1" added to address
line?
this will allow to identify the actual file/function much better.

peace.


(In reply to comment #27)
> On my browser the line:
> 
> webfonts.$element.find( '*[lang], [style], [class]' ).each( function( i,
> element )
> 
> of jQuery.webfonts.js (about line 134). seems to be expensive.


this seems to be related to bug 50836 (i.e., performance vs. freeze).
i think if you'll dig a bit deeper you'll find that the expensive part there is
calling "getCSS()". 
this can be easily improved by doing the little optimization i outlined there
for the "load" function.

peace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to