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

       Web browser: ---
            Bug ID: 55801
           Summary: significant intermittent performance problem in Chrome
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Seen in Chrome and not Firefox: 

Sometimes initiating a VE session can take on the order of 3X the normal time
(or possibly more).  This is a UX issue and also causes significant
intermittent browser test failures in Chrome version 30.  Here are 10 runs of a
script[*] that times how long it takes to bring up and dismiss the "Welcome..."
iframe:

2.194106
2.187554
2.222601
2.226447
2.369503
2.182237
7.639938 *
2.335375
2.397571
2.271333

This is on a fast connection.  The performance issue is exacerbated on a slow
connection.

Speculation as to the root cause: 

* The "Welcome..." iframe is actually the second iframe in the page.  The
first, much larger iframe in the page is invisible and is a complete copy of
the base VisualEditor UI.  It could be that loading both iframes could cause
intermittent performance problems. 

* (Note that the invisible first iframe on the page not only contains an entire
VE UI, but may also contain gadget code like HotCat or ProveIt sourced from
other places like bits, see screen shot and Bug 55759.)

[*] The meat of the little Ruby timer script is: 

#CLICK EDIT
b.a(:title => /Edit this page with VisualEditor/).when_present.click
#SAVE START TIME
welcome_start_time = Time.now
#CLICK CLOSE ON THE WELCOME IFRAME WHEN IT BECOMES CLICKABLE
b.frame(:index => 1).a(:title => 'Close').when_present.click
#SAVE END TIME
welcome_end_time = Time.now
welcome_load_time = welcome_end_time - welcome_start_time
puts welcome_load_time.to_s

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

Reply via email to