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

       Web browser: ---
            Bug ID: 59958
           Summary: ULS loading language-specific fonts for interlanguage
                    links
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: normal
          Priority: Unprioritized
         Component: UniversalLanguageSelector
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: o...@wikimedia.org
                CC: alolita.sha...@gmail.com,
                    amir.ahar...@mail.huji.ac.il, kartik.mis...@gmail.com,
                    niklas.laxst...@gmail.com, pgi...@wikimedia.org,
                    run...@gmail.com, santhosh.thottin...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 14294
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=14294&action=edit
Waterfall diagram showing impact on latency and resource utilization

On <http://en.wikipedia.org/wiki/Conjunctivitis>, UniversalLanguageSelector
loads just under half a megabyte of fonts (490.2 Kb). By comparison, the
combined size of all other resources -- that is, *all* javascript, CSS, images
and text -- is 346 Kb.

The impact on page performance is severe. It is clearly noticeable even on a
high-bandwidth, low-latency connection. The attached image shows the font
requests saturating bandwidth, then CPU as they are retrieved and rendered.

More details here: <http://www.webpagetest.org/result/140111_D1_TEV/1/details/>

WebKit browsers hide text until the font is available. This causes the
interlanguage links for which ULS is overriding the system default font
selection to appear in one font, vanish for several seconds, and then re-appear
in a different font. I recorded this on my laptop:
<http://www.youtube.com/watch?v=J3Wd7d8Y7wE>. Note that I am using a
bleeding-edge browser version and connecting to the internet via a broadband
connection.

In my assessment, the frequency and regularity with which this issue has
recurred makes it clear that ULS's strategy for loading web fonts is
fundamentally misguided. I do not consider a selector exemption to be an
adequate solution to this bug.

-- 
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