Performance Validator provides a command line interface to allow you to perform automated performance data collection.
To run 32 bit performance validator run C:\Program Files (x86)\Software Verify\Performance Validator x86\performanceValidator.exe
To run 64 bit performance validator run C:\Program Files (x86)\Software Verify\Performance Validator x64\performanceValidator_x64.exe
Potential uses for automated code performance analysis are:
•In the regression test suite to ensure code performance of a certain level
•In unit testing to ensure code performance of a certain level
•Quality assurance
Results from performance data collection sessions can be compared to assess regressions and improvements in your tests.
Typically, command line options allow Performance Validator to run by specifying:
•the target program to run
•arguments to pass to the target program
•the working directory to run in
•whether to run with or without the user interface
•a baseline session to compare with
•where and how to save results
•what to include or exclude from hooking
•how to compare results
Usually Performance Validator would exit between automated tests, but it can be made to stay running if necessary.
There are a few basic rules to remember when using the command line arguments:
•separate arguments by spaces
•quote arguments if they contain spaces
•some arguments are only useful in conjunction with others
•some arguments are incompatible with others
If your command line is very long, consider using -commandFile to specify a command file for your arguments.
Any unrecognised arguments found on the command line are simply ignored, whether or not they are prefixed with a hyphen.
Arguments intended for your program will not conflict with the Performance Validator arguments in this manual as you should use -arg to redirect them to your program.
If you find creating command lines from nothing to be a bit daunting we've created a Command Line Builder tool to help you build command lines.
You'll still need to complete some details, but the builder will help prevent you making some mistakes.
Command Lines and Floating Licences
Performance Validator works from the GUI and from the command line with all types of software licence (floating licences and non-floating licences).
When floating licences are being used Performance Validator will wait to acquire a floating licence before proceeding to process the command line options.
There are no options to:
•Checkout a floating licence
•Release a floating licence
•Query for available licences
These options are managed automatically by Performance Validator, there is no need for such options to be manually controlled from the command line.