@comunica/actor-sparql-serialize-stats

A stats sparql-serialize actor

Usage no npm install needed!

<script type="module">
  import comunicaActorSparqlSerializeStats from 'https://cdn.skypack.dev/@comunica/actor-sparql-serialize-stats';
</script>

README

Comunica Stats Sparql Serialize Actor

npm version

A SPARQL Serialize actor that outputs the number of query results together with their cumulative delay and number of HTTP requests. This is mainly useful for profiling and benchmarking.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/actor-sparql-serialize-stats

Configure

After installing, this package can be added to your engine's configuration as follows:

{
  "@context": [
    ...
    "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-sparql-serialize-stats/^1.0.0/components/context.jsonld"  
  ],
  "actors": [
    ...
    {
      "@id": "config-sets:sparql-serializers.json#myStatsSparqlSerializer",
      "@type": "ActorSparqlSerializeStats"
    }
  ]
}