OfficeFloor
OfficeFloor copied to clipboard
TechEmpower Benchmarks Fortunes is not using a templating
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.