You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a great admirer of your framework and saw how well you did on TechEmpower but I'm saddened that you borderline cheated (in spirit) on the Fortune benchmark.
You are supposed to use a templating language and not just hard code Java strings as bytes.
Anyway I think you will get similar results to your hard coding if you use Rocker or my templating engine JStachio (both pre-encode like you manually did albeit mine needs an experimental flag turned on JStacheFlags(flags=PRE_ENCODE)).
I am a great admirer of your framework and saw how well you did on TechEmpower but I'm saddened that you borderline cheated (in spirit) on the Fortune benchmark.
You are supposed to use a templating language and not just hard code Java strings as bytes.
Anyway I think you will get similar results to your hard coding if you use Rocker or my templating engine JStachio (both pre-encode like you manually did albeit mine needs an experimental flag turned on
JStacheFlags(flags=PRE_ENCODE)
).Here is some JMH benchmarking:
https://github.com/agentgt/template-benchmark
If you are interested I can try to plug it in the TechEmpower Framework code as branch/PR.
The text was updated successfully, but these errors were encountered: