-
Notifications
You must be signed in to change notification settings - Fork 5
Run the benchmarks
Jose Emilio Labra Gayo edited this page Aug 31, 2024
·
4 revisions
The benchmarks are located in the benches
folder of each module. For example, the benchmarks of shex_compact
are at shex_compact/benches.
cd shex_compact
Run the benchmarks:
cargo bench
And the HTML report will be available at:
../target/criterion/[NAME OF BENCHMARK]/report/index.html
cargo bench --bench shex_parse -- --profile-time 20
And the flamegraph is located at:
../target/criterion/shex\ parse/profile/flamegraph.svg
- (RDF) Information about a node in RDF file
- (RDF) Merge several RDF data files
- (RDF/SPARQL) Information about a node in Wikidata
- (ShEx) Show info about a schema
- (ShEx) Validate a specific node with a shape
- (SHACL) Show info about a SHACL schema
- (SHACL) Read a SHACL Shapes graph and convert to some format
- (SHACL) Validating RDF data using SHACL
- (SPARQL) Running SPARQL queries
- (Python) Invoking this library from Python
- (SHACL → ShEx) Convert SHACL shapes graph to ShEx schema
- (ShEx → SVG/PNG/...) Convert a ShEx schema to an UML-like visualization in SVG, PNG, ...
- (ShEx → HTML) Convert ShEx schemas to HTML views
- (ShEx → SPARQL) Convert a simple ShEx schema to SPARQL
- (DCTap → ShEx) Convert a CSV file in DCTap to a ShEx schema
- (DCTap → SVG/PNG/...) Convert a CSV file in DCTap to an UML-like visualization in SVG, PNG, ...