The following tests are used for measuring the timing of fixed-scope operations. Specifically, the tests take an input argument that specifies the number of resources to be created in Fedora. Once the resources have been loaded, a final request is performed to measure the response time of a target resource. The current set of bash scripts are focused on the response times for retrieving Fedora resources with either many child resources, or many properties. The scripts should be extended to Versioning and Search functionality.
Instructions
These instructions include a "quick start" to get an initial, experimental, testing environment setup. Once the basic setup/execution details have been established, the "real" tests should be performed on a production-like system.
Quick Start
- Download bash scripts
No Format git clone https://github.com/fcrepo4-labs/fcrepo-performance-test-scripts.git
The README details which scripts work against Fedora 6
- Download / Install Fedora
- Run tests
For example:
No Format ./n-binaries 1000 500
Full Instructions
- Steps #1 and #2 from "Quick Start" are the same
- Regarding step #3 (Installing Fedora), it is important to configure the Java HotSpot VM Options, as appropriate
- Document both the server and client machine specs
- Run tests as noted in step #3