Bug 27998 - http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay
Summary: http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 27995
  Show dependency treegraph
 
Reported: 2009-08-04 14:37 PDT by Eric Seidel (no email)
Modified: 2010-04-08 02:00 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2009-08-04 14:37:44 PDT
http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay

These were added in:
http://trac.webkit.org/changeset/45003

Current runtime of this test is 6.25s on my machine.  That's about 1% of total LayoutTest runtime. :(

Is the delay really necessary?

    {
        testHeaders: {
            'Cache-control': 'max-age=1',
        },
        delay: 1.5,
        expectedResult: 'Uncached',
    },
    {
        testHeaders: {
            'Last-modified': '[now-3600s]',
        },
        delay: 1.5,
        expectedResult: 'Cached',
    },
    {
        testHeaders: {
            'Last-modified': '[now-10s]',
        },
        delay: 1.5,
        expectedResult: 'Uncached',
    },
Comment 1 Eric Seidel (no email) 2009-08-04 18:25:57 PDT
Actually, this is the slowest test in Release mode :(

6.22 secs: http/tests/cache/subresource-expiration.html

See list https://bugs.webkit.org/attachment.cgi?id=34108 on bug 27995.
Comment 2 Eric Seidel (no email) 2009-08-11 10:14:31 PDT
Yup, still the slowest test by over a second. :)

https://bugs.webkit.org/attachment.cgi?id=34573
Comment 3 Eric Seidel (no email) 2010-04-01 17:30:39 PDT
Just timed out on Snow Leopard:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r56952%20(7567)/results.html
That may not be related to this bug however.