Bug 27998
Summary: | http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | abarth, darin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
Bug Depends on: | |||
Bug Blocks: | 27995 |
Eric Seidel (no email)
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',
},
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
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.
Eric Seidel (no email)
Yup, still the slowest test by over a second. :)
https://bugs.webkit.org/attachment.cgi?id=34573
Eric Seidel (no email)
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.
Adam Barth
Again: http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r57262%20(7898)/http/tests/cache/subresource-expiration-pretty-diff.html