https://github.com/terminusdb/terminusdb-store-test
Load testing utility for terminus-store
https://github.com/terminusdb/terminusdb-store-test
Last synced: 5 months ago
JSON representation
Load testing utility for terminus-store
- Host: GitHub
- URL: https://github.com/terminusdb/terminusdb-store-test
- Owner: terminusdb
- License: gpl-3.0
- Created: 2019-11-27T16:45:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T15:57:26.000Z (over 5 years ago)
- Last Synced: 2025-02-28T03:57:20.530Z (11 months ago)
- Language: Prolog
- Size: 32.2 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terminus-store load testing application
[](https://travis-ci.com/terminusdb/terminus_store_test)
## Requirements
* cargo
* gcc
* swi-prolog 8.0.3 (with the include headers)
* terminus_store_prolog
* terminus_store
## Installing
```
?- pack_install(terminus_store_prolog).
```
You will need to make the directory /tmp/demo if it doesn't exist
## Compiling and running
```
cd terminus_store_test/prolog
swipl run_test.pl -- -n 1
?- debug(test(_)).
?- go.
```
The run should be appended to the file `prolog/loaddata.csv`.
See the built in help for options.
```
cd terminus_store_test/prolog
swipl run_test.pl -g "go" -- --help
```
Currently it's
```
--settings -s atom=settings.db location of settings file
--count -n integer=-1 number of iterations to run (default -1, forever)
--csv atom=loaddata.csv path to the output data file. if it exists we append
--omit atom=no_such_test_exists omit a test- --omit failing_functor . May be repeated.
--help -h boolean=false print help and exit
```