Swirrl / grafter

Linked Data & RDF Manufacturing Tools in Clojure
Eclipse Public License 1.0
190 stars 17 forks source link

Suspected performance regression in grafter-2.rdf4j.sparql/query due to spec conforming args #151

Open RickMoynihan opened 5 years ago

RickMoynihan commented 5 years ago

I could be wrong but it looks like the calls to s/conform in the -query multimethod here add a relatively significant overhead to some queries.

For some relatively simple queries the overhead appears to be about 1/4 of the total query time. See the flamegraph below:

Screenshot 2019-09-30 at 12 51 19