Changes between Version 2 and Version 4 of Ticket #3056


Ignore:
Timestamp:
09/10/2015 05:53:10 PM (4 years ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3056

    • Property Cc sebastian added; snoack removed
  • Ticket #3056 – Description

    v2 v4  
    22 - Latest revision of CMS (f9fd64fbc629) 
    33 - Ubuntu Linux 15.04 running on a Thinkpad T450 
    4  - Serving the contents of the `testpages.adblockplus.org` repository. 
     4 - Serving the contents of the `testpages.adblockplus.org` repository with the $generic hide and block test cases. 
    55 - Python version 2.7.9 
    66 
    77=== How to reproduce === 
    88 1. Clone `testpages.adblockplus.org` and `cms`. 
    9  2. In the testpages directory launch the test server like `../cms/runserver.py`. 
    10  3. Browse around the various pages of the site starting from `http://localhost:5000`. 
     9 2. Apply generic hide + block diff to testpages from this code review https://codereview.adblockplus.org/29325987/ . (Alternatively just clone from [https://github.com/kzar/testpages.adblockplus.org/tree/616-generic-hide my fork on GitHub].) 
     10 3. Edit your hosts file to point `testpages.adblockplus.org` and `www.testpages.adblockplus.org` at `127.0.0.1`. 
     11 4. In the testpages directory launch the test server like `../cms/runserver.py`. 
     12 5. Browse to this exact URL `http://testpages.adblockplus.org:5000/en/testcases/generic/#01` 
     13 6. Keep refreshing the page until the delay problem occurs. 
    1114 
    1215=== Observed behaviour === 
    13 There are seemingly random large pauses of several seconds when the server is serving static files like images and scripts. It happens frequently enough to really slow down development. 
     16There are seemingly random large pauses of several seconds when the server is serving static files like images and scripts. With the example above it happens more than 50% of the time for me. 
    1417 
    1518=== Expected behaviour === 
     
    1922 
    2023I have also noticed a very similar / the same problem with the `run_tests.py` script in the `adblockpluscore` repository. The script acts as web server serving the pages and static files required to run the unit tests. The cause of this issue could be related. 
     24 
     25I'm working on a simpler example that reproduces the problem, so far I haven't managed though.