SimonBin opened a new issue, #1295:
URL: https://github.com/apache/jena/issues/1295

   I'm investigating a performance degradation that seems to happen only in 
combination with HTTP compression and text/csv.
   
   I'm opening this issue here first without a complete demo, in case anyone 
has an idea where to look.
   
   I am running a request to fuseki like this:
   
   ```
   curl http://fuseki/sparql -H 'Accept: text/csv' -d 'query=select *{?s ?p 
?o.}limit 100000' | wc -l
   100001
   ```
   
   if I only add the `-H 'Accept-Encoding: gzip' ` header, like browsers will 
do, the same query:
   ```
   curl 'http://localhost:3030/pdl/sparql' -H 'Accept: text/csv' -H 
'Accept-Encoding: gzip' -d 'query=select *{?s ?p ?o.}limit 100000' | zcat | wc 
-l
   100001
   ```
   
   it takes 22 times as long!
   
   Interestingly though, the other result formats (json, tsv) work fast both 
with and without the Accept-Encoding


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to