Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
854 B
19 lines
854 B
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
DATASET_SIZE=100000
|
||
5 years ago
|
MEMORY_SIZE=1000000
|
||
5 years ago
|
cd bsbm-tools
|
||
6 years ago
|
./generate -fc -pc ${DATASET_SIZE} -s nt -fn "explore-${DATASET_SIZE}"
|
||
|
cargo build --release --manifest-path="../../server/Cargo.toml"
|
||
5 years ago
|
(
|
||
|
ulimit -d ${MEMORY_SIZE}
|
||
5 years ago
|
./../../target/release/oxigraph_server --file oxigraph_data
|
||
5 years ago
|
) &
|
||
6 years ago
|
sleep 5
|
||
|
curl -f -X POST -H 'Content-Type:application/n-triples' --data-binary "@explore-${DATASET_SIZE}.nt" http://localhost:7878/
|
||
5 years ago
|
./testdriver -ucf usecases/explore/sparql.txt -o "../bsbm.explore.oxigraph.${DATASET_SIZE}.${MEMORY_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query
|
||
|
./testdriver -ucf usecases/businessIntelligence/sparql.txt -o "../bsbm.businessIntelligence.oxigraph.${DATASET_SIZE}.${MEMORY_SIZE}.$(date +'%Y-%m-%d').xml" http://localhost:7878/query
|
||
6 years ago
|
kill $!
|
||
5 years ago
|
rm -r oxigraph_data
|
||
6 years ago
|
rm "explore-${DATASET_SIZE}.nt"
|
||
|
rm -r td_data
|