Realistic low-level approach with "rapidoid-http-fast"#2257
Realistic low-level approach with "rapidoid-http-fast"#2257knewmanTE merged 5 commits intoTechEmpower:masterfrom nmihajlovski:master
Conversation
|
@nmihajlovski, given that this merge request doesn't address the concerns that were initially raised about Rapidoid's implementation, I don't think just changing the name of the test is enough to merit reclassify it from Stripped to Realistic, as it is still manually constructing the byte arrays for all of the response headers. |
|
I took care of that. The old code is replaced by a new and simple code. |
|
@knewmanTE Is it too late to include this in the upcoming "preview 2" round? |
|
@nmihajlovski we ran preview 2 over the weekend, so this pull request was not in the code base for our suite run. |
|
@knewmanTE Is there any reason why this PR hasn't been marked with a "Round-13" label? |
|
Hey @nmihajlovski, sorry for the delay. We've been busy with some internal tasks preparing for preview 2 and haven't had the time to do a full pass-through of the additional changes you've made. We'll be taking a look today though! |
| "versus": "rapidoid" | ||
| "tests": [ | ||
| { | ||
| "http-fast": { |
There was a problem hiding this comment.
could you change this test name back to 'default'? The way the suite is built, each benchmark_config.json must contain at least a 'default' test.
There was a problem hiding this comment.
Thanks @knewmanTE for the quick reply. I changed the test name to 'default'.
|
Thanks! |
Some users complained that the "rapidoid" tests are implemented using low-level techniques, despite the expected one-liners presented in the docs.
I renamed the apparently misleading "rapidoid" tests to "rapidoid-http-fast", to avoid the confusion and set the right expectations.
rapidoid-http-fast is the low-level HTTP and generic network protocol framework:
http://www.rapidoid.org/http-fast.html
I really believe that now the "rapidoid-http-fast" benchmark should be marked as realistic, because:
But, to be really fair, I already opened a PR using the high-level Rapidoid API:
#2256
I hope we will be able to see both the high-level and low-level approaches and compare the results very soon...