* add performance hint to time infer * add reshape methods for time infer tool * add func declarations to common_utils.h * add check if node is static (reshape pipeline) * changes in desc of reshape funcs * fix logic operator * add reshape utils.h | move parsing logic in main func * add tests_shared_lib to CMakeLists.txt * change fill blobs with setStaticShapesBlobs * change delimiter
Time Tests
This test suite contains pipelines, which are executables. The pipelines measure the time of their execution, both total and partial. A Python runner calls the pipelines and calcuates the average execution time.
Prerequisites
To build the time tests, you need to have OpenVINO™ installed or build from source.
Measure Time
To build and run the tests, open a terminal, set OpenVINO™ environment and run the commands below:
- Build tests:
mkdir build && cd build
cmake .. && make time_tests
- Install tests:
сmake install <build_dir> --prefix <install_path>
- Run test:
./scripts/run_timetest.py ../../bin/intel64/Release/timetest_infer -m model.xml -d CPU
- Run several configurations using
pytest:
pytest ./test_runner/test_timetest.py --exe ../../bin/intel64/Release/timetest_infer
# For parse_stat testing:
pytest ./scripts/run_timetest.py