Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

Create benchmarks for main operations #635

Closed lkitching closed 1 year ago

lkitching commented 2 years ago

The proposed changes to rewriting in #614 has highlighted the need to be able to compare performance between drafter versions. The append, delete, delete graph, publish and SPARQL update operations are all affected by changes to rewriting and therefore their performance is sensitive to any changes.

Create a benchmarking harness and add tests for these operations. Of interest is seeing how performance changes as the total number of statements, total number of graphs, and the number of 'graph-referencing' statements increase. Within a draftset, statements which reference other draftset graphs need some attention (see #607) to ensure they are rewritten correctly. We would like to ensure that improving correctness in this area does not drastically harm performance.