paper bench

Benchmark a Paper query

Options

NameDescription
--benchmemReport memory allocations with benchmark results
--bundle, -b <bundle>Set bundle file(s) or directory path(s). This flag can be repeated
--count <count>Number of times to repeat each benchmark
--data, -d <data>Set policy or data file(s). This flag can be repeated
--failExits with non-zero exit code on undefined/empty result and errors
--format, -f <format>Set output format
--ignore <ignore>Set file and directory names to ignore during loading (e.g., '.*' excludes hidden files)
--import <import>Set query import(s). This flag can be repeated
--input, -i <input>Set input file path
--metricsReport query performance metrics
--package <package>Set query package
--partial, -pPerform partial evaluation
--schema, -s <schema>Set schema file path or directory path
--stdinRead query from stdin
--stdin-input, -IRead input document from stdin
--target, -t <target>Set the runtime to exercise
--unknowns, -u <unknowns>
  • Repeatable ♾
--help, -hHelp for bench