From: "William Chan (陈智昌)" <willchan@chromium.org>
To: Dave Taht <dave.taht@gmail.com>
Cc: "aqm@ietf.org" <aqm@ietf.org>,
"cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>,
bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] [aqm] chrome web page benchmarker fixed
Date: Thu, 17 Apr 2014 12:01:46 -0700 [thread overview]
Message-ID: <CAA4WUYg3ShZ0e5iP0TTN5TFc2m-Fjsopo+x0p9-WqxETxFOJiQ@mail.gmail.com> (raw)
In-Reply-To: <CAA93jw51m6=Um4DLdNqO29hedVbthGbYP_YWqAaZ71ycx49=6Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3718 bytes --]
Speaking as the primary Chromium developer in charge of this relevant code,
I would like to caution putting too much trust in the numbers generated.
Any statistical claims about the numbers are probably unreasonable to make.
Reasons:
* We don't actively maintain this code. It's behind the command line flags.
They are broken. The fact that it still results in numbers on the benchmark
extension is an example of where unmaintained code doesn't have the UI
disabled, even though the internal workings of the code fail to guarantee
correct operation. We haven't disabled it because, well, it's unmaintained.
* We don't make sure to flush all the network state in between runs, so if
you're using that option, don't trust it to work.
* If you have an advanced Chromium setup, this definitely does not work. I
advise using the benchmark extension only with a separate Chromium profile
for testing purposes. Our flushing of sockets, caches, etc does not
actually work correctly when you use the Chromium multiprofile feature and
also fails to flush lots of our other network caches.
* No one on Chromium really believes the time to paint numbers that we
output :) It's complicated. Our graphics stack is complicated. The time
from when Blink thinks it painted to when the GPU actually blits to the
screen cannot currently be corroborated with any high degree of accuracy
from within our code.
* It has not been maintained since 2010. It is quite likely there are many
other subtle inaccuracies here.
In short, while you can expect it to give you a very high level
understanding of performance issues, I advise against placing non-trivial
confidence in the accuracy of the numbers generated by the benchmark
extension. The fact that numbers are produced by the extension should not
be treated as evidence that the extension actually functions correctly.
Cheers.
On Thu, Apr 17, 2014 at 10:49 AM, Dave Taht <dave.taht@gmail.com> wrote:
> Getting a grip on real web page load time behavior in an age of
> sharded websites,
> dozens of dns lookups, javascript, and fairly random behavior in ad
> services
> and cdns against how a modern browsers behaves is very, very hard.
>
> it turns out if you run
>
> google-chrome --enable-benchmarking --enable-net-benchmarking
>
> (Mac users have to embed these options in their startup script - see
> http://www.chromium.org/developers/how-tos/run-chromium-with-flags )
>
> enable developer options and install and run the chrome web page
> benchmarker,
> (
> https://chrome.google.com/webstore/detail/page-benchmarker/channimfdomahekjcahlbpccbgaopjll?hl=en
> )
>
> that it works (at least for me, on a brief test of the latest chrome, on
> linux.
> Can someone try windows and mac?)
>
> You can then feed in a list of urls to test against, and post process
> the resulting .csv file to your hearts content. We used to use this
> benchmark a lot while trying to characterise typical web behaviors
> under aqm and packet scheduling systems under load. Running
> it simultaneously with a rrul test or one of the simpler tcp upload or
> download
> tests in the rrul suite was often quite interesting.
>
> It turned out the doc has been wrong a while as to the name of the second
> command lnie option. I was gearing up mentally for having to look at
> the source....
>
> http://code.google.com/p/chromium/issues/detail?id=338705
>
> /me happy
>
> --
> Dave Täht
>
> Heartbleed POC on wifi campus networks with EAP auth:
> http://www.eduroam.edu.au/advisory.html
>
> _______________________________________________
> aqm mailing list
> aqm@ietf.org
> https://www.ietf.org/mailman/listinfo/aqm
>
[-- Attachment #2: Type: text/html, Size: 4779 bytes --]
next prev parent reply other threads:[~2014-04-17 19:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 17:49 [Cerowrt-devel] " Dave Taht
2014-04-17 19:01 ` William Chan (陈智昌) [this message]
2014-04-17 21:07 ` [Cerowrt-devel] [aqm] " Dave Taht
2014-04-17 22:29 ` William Chan (陈智昌)
2014-04-18 18:15 ` Greg White
2014-04-18 18:48 ` dpreed
2014-04-18 19:27 ` Greg White
2014-04-18 19:05 ` Dave Taht
2014-04-18 19:40 ` Dave Taht
2014-04-18 20:41 ` Greg White
2014-04-19 19:29 ` Dave Taht
2014-04-30 14:09 ` Dave Taht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA4WUYg3ShZ0e5iP0TTN5TFc2m-Fjsopo+x0p9-WqxETxFOJiQ@mail.gmail.com \
--to=willchan@chromium.org \
--cc=aqm@ietf.org \
--cc=bloat@lists.bufferbloat.net \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=dave.taht@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox