A workflow profile for performance testing should contain the exact actions that a client would perform to exercise the repository under test. Sections that should be timed to performance should be clearly marked.
For example:
Indicates a timed section.
- Repeat 1000 times:
- Retrieve one object randomly selected
- Retrieve one datastream from that object.
- Replace that datastream with a sequence of random bytes of the same length.
- Retrieve fixity information for that datastream.
- Repeat 100 times:
- Delete one object randomly selected.
- Delete one object randomly selected.