File: README.md

package info (click to toggle)
node-rdf-canonize 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 328 kB
  • sloc: javascript: 2,218; makefile: 15; sh: 1
file content (27 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
RDF Dataset Canonicalization Benchmark
--------------------------------------

The benchmark system uses the same manifest setup as the test suite.  This
allows setting up both tests and benchmarks with one setup.

In the root dir run **all** test suite tests:

    npm run benchmark

To run a particular dir or file:

    TEST_DIR=./benchmark npm run benchmark
    TEST_DIR=./benchmark/m2.jsonld npm run benchmark

As an addition to the test suite, tests can be marked with boolean "skip" or
"only" flags. The "only" support is a hack and requies the env var "ONLY" to be
set:

    ONLY=1 npm run benchmark
    ONLY=1 TEST_DIR=./benchmark npm run benchmark

Tests are benchmarked with a matrix of {async/sync} {js/native} {x1/x10}.

To run large "block" benchmarks, run the builder script first:

    node make-tests.js