Hi Lorena,
You could execute the query against the /sparql endpoint using curl and time it:
$ time curl --request POST 'http://localhost:8890/sparql/?' --data-urlencode
'query=select count(*) where {?s ?p ?o}' --data 'format=html'
callret-0
282263
real0m0.015s
user
Hi Hugh:
thanks for the prompt reply!
Those instructions allow to log and explore metrics on the server side,
which are very useful, but I was asking if there is any way of getting
the estimated execution time as a response to a HTTP request.
This would be useful info to display in a client tool,
Hi Lorena,
You can enable query profiling to obtain query compile, execution and many
other metrics as detailed at:
http://docs.openlinksw.com/virtuoso/databaseadmsrv.html#querylogging
Or you can profile a single query with the profile(''); command which
gives the query plan for the sp