FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

Enable compression for result JSON on dashboard

Open Kaliumhexacyanoferrat opened this issue 1 year ago • 5 comments

The result files loaded by the dashboard are quite large (about 3.5 MiB) and currently not compressed by the server:

image

As JSON is highly compressible, I would expect a great benefit here.

Kaliumhexacyanoferrat avatar Nov 26 '24 08:11 Kaliumhexacyanoferrat

Ah, found the tfb-status repo, will try a PR there.

Kaliumhexacyanoferrat avatar Nov 26 '24 08:11 Kaliumhexacyanoferrat

After discussion with @michaelhixson a solution would be to directly serve the results via nginx instead of the Java project, pre-compress the result files and then use gzip_static to serve them compressed.

Kaliumhexacyanoferrat avatar Nov 27 '24 10:11 Kaliumhexacyanoferrat

I understand you, but we are not testing gzip compression, that it's very important. And for that they want to disable it for any framework.

But actually it's better than a framework use brotli or zst !!!

joanhey avatar May 18 '25 23:05 joanhey

And yes the result files, it's a place to improve. But I'll like to be possible to see the errors in the frameworks, without need to wait to finish the run.

joanhey avatar May 18 '25 23:05 joanhey

Another thing that I saw the last time that fail the status, one week ago, is that the error show nginx/1.25.0 But the headers show clearly that the server is nginx/1.18.0

PD: nginx last version 1.28

joanhey avatar May 18 '25 23:05 joanhey