Brian,
> For Round 5, where necessary, we will configure Wrk to use the request
> headers we have specified in those requirements.
Ok, thanks for implementing this improvement!
One question: Why are you using such a short User-Agent header?
As you can see from [this list][1] all popular (und unpopular) browsers produce *much* longer User-Agent header values.
Since every web server has to somehow deal with this part of the request IMHO it'd be good to have the benchmark use some more or less realistic value. (I think the only thing that matters is the length of the value, probably most servers do not actually look at the internal structure of this header (spray does and is probably an exception here)).
> I didn't include Cookie,
> and we'll debate that a bit internally. Presently, none of our tests
> simulate requests with associated user sessions. We expect that the
> applications/frameworks are configured to *support* sessions if they were
> being used (otherwise we mark them as "stripped"), but no tests yet
> actually use sessions.
Yes, I understand.
The point of adding a Cookie header is not so much to exercise user sessions. Since we are only testing single-request performance no one would expect session mgmt. to be a part of the benchmark.
The interesting thing about Cookie headers is that their value *is* usually parsed structurally by the server (as opposed to the User-Agent header, whose value will mostly be treated as an opaque string). The Cookie header value contains a list of key-value-pairs that servers usually parse into some kind of map structure. The efficiency of this internal parsing is something that is interesting for the JSON benchmark. In the top region of this benchmark (where benchmarkees reach several hundred thousand requests/second) these differences become important.
Since most non-trivial real-world web-applications do rely on cookies in one way or another one could argue that a good benchmark should cover server-side cookie parsing performance as well… no?
Cheers,
Mathias
[1]:
http://www.useragentstring.com/pages/Browserlist/
---
mat...@spray.io
http://spray.io
On 09.05.2013, at 20:46, Brian Hauer <
teona...@gmail.com> wrote:
> Hi again Mathias,
>
> An unrelated erroneous labeling of Scalatra as Laravel has motivated me to
> push the latest results web site to the server. The latest version
> includes a few things, but related to this discussion, we added
> requirements for each test type:
>
>
http://www.techempower.com/benchmarks/#section=code
>
> For Round 5, where necessary, we will configure Wrk to use the request
> headers we have specified in those requirements. I didn't include Cookie,
> and we'll debate that a bit internally. Presently, none of our tests
> simulate requests with associated user sessions. We expect that the
> applications/frameworks are configured to *support* sessions if they were
>>
mat...@spray.io <javascript:>
>>
http://spray.io
>>
>> On 09.05.2013, at 02:09, Brian Hauer <
teona...@gmail.com <javascript:>>