[kotlin/vertx-web-kotlin-dsljson] Mark tests as stripped#10661
[kotlin/vertx-web-kotlin-dsljson] Mark tests as stripped#10661msmith-techempower merged 1 commit intoTechEmpower:masterfrom
Conversation
|
Too many frameworks (specially in java and kotlin) have 2 permutations only to separate json/plaintext from the database calls. If we prohibit that, we can have faster runs and more realistic results. |
|
There won't be any impact on the results but I'm fine with merging the two into one to decrease overall run time. You can cancel this PR and I'll raise one that merges the two. |
|
This PR is not about merge both permutations, that it will help a lot to have faster runs. It's about the Content-Length header, that is not generate it for each request, as is using a constant (so only calculate the length one time) not for each request. |
|
When you fix the Content-Length to be generate for each request, you can mark the test as Realistic again. |
|
Yeah, I don't approve of this change. You'll need to update this PR to make the appropriate changes across all benchmarks that do the same prior to that. |
|
Help with the java frameworks than do the same, Java is not my best language. Other PRs similar to this one: |
Approving or no "private val JSON_CONTENT_LENGTH: CharSequence = HttpHeaders.createOptimized(MessageHandler.DEFAULT_MESSAGE.serialize().length().toString())", looks a bit much. When it comes to PR, I think just marking it as stripped will do no good (as i mentioned in another PR), a nicer solution would be inlining the value, and it will do little to no harm.
Got to start somewhere. There is no reason to be overly attached to something that little. Eventually all frameworks will be fixed |
|
Java is not my language, and the time spend for fix it is from the initial dev that create it using tricks. |
|
I'm supportive of improving the quality of the benchmark results overall. But the right way to do that would be to raise a meta topic on the subject to be get broader alignment. Then make changes to the wiki outlining the expectations for each tests and what qualifies / disqualifies implementations. And then after that, notify the owners / give some window to update. And I would include in that other things like imposing a maximum build time, merging all implementations into one docker container, etc. |
|
Merging the implementations into one docker container is a comment that I made, and not approved . |
|
Yeah I agree with you, its a good idea and should be done. I plan on making that change. |
We need to generate the headers, not hard coded or with constants. |
This issue has been raised before: |
|
Fixed in #10664 |
|
Reopen again @msmith-techempower |
|
Why was this merged? It was resolved in #10664. |
)" This reverts commit 7f692c3.
|
No worries, thanks for the update! |
FrameworkBenchmarks/frameworks/Kotlin/vertx-web-kotlin-dsljson/src/main/kotlin/com/example/starter/helpers/PeriodicResolver.kt
Lines 17 to 18 in d36a2ed
FrameworkBenchmarks/frameworks/Kotlin/vertx-web-kotlin-dsljson/src/main/kotlin/com/example/starter/helpers/PeriodicResolver.kt
Lines 46 to 60 in d36a2ed
@awmcc90