...
The benchmarking tool is available on github: https://github.com/futuresfcrepo4-labs/benchtool
Code Block |
---|
git clone git@github.com:futuresfcrepo4-labs/benchtool.git cd benchtool mvn install |
...
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a ingest -u adminuser -p turnip2
Threads | ObjectsContainers | BinaryDatastream | AuthZ Time (ms) | No AuthZ Time (ms) |
---|---|---|---|---|
1 | 1000 | 1MB | 535,091 ms | 510,248 ms |
2 | 1000 | 1MB | 464,909 ms | 408,316 ms |
4 | 1000 | 1MB | 402,695 ms | 387,168 ms |
8 | 1000 | 1MB | 393,567 ms | 384,786 ms |
...
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a read -u adminuser -p turnip2
Threads | ObjectsContainers | BinaryDatastream | AuthZ Time (ms) | No AuthZ Time (ms) |
---|---|---|---|---|
1 | 1000 | 1MB | 8504 ms | 6481 ms |
2 | 1000 | 1MB | 4343 ms | 3299 ms |
4 | 1000 | 1MB | 4409 ms | 3463 ms |
8 | 1000 | 1MB | 3910 ms | 3472 ms |
...
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a update -u adminuser -p turnip2
Threads | ObjectsContainers | BinaryDatastream | AuthZ Time (ms) | No AuthZ Time (ms) |
---|---|---|---|---|
1 | 1000 | 1MB | 200,431 ms | 174,545 ms |
2 | 1000 | 1MB | 137,125 ms | 124,240 ms |
4 | 1000 | 1MB | 141,977 ms | 128,048 ms |
8 | 1000 | 1MB | 135,004 ms | 149,371 ms |
...
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a delete -u adminuser -p turnip2
Threads | ObjectsContainers | BinaryDatastream | AuthZ Time (ms) | No AuthZ Time (ms) |
---|---|---|---|---|
1 | 1000 | 1MB | 126,261 ms | 112,387 ms |
2 | 1000 | 1MB | 96,281 ms | 92,130 ms |
4 | 1000 | 1MB | 100,309 ms | 92,542 ms |
8 | 1000 | 1MB | 101,414 ms | 92,472 ms |