mirror of
https://github.com/openharmony/third_party_openhitls.git
synced 2026-07-22 09:05:24 -04:00
b628015913
Signed-off-by: Dongjianwei001 <dongjianwei1@huawei.com>
openhitls benchmark
Before running benchmark, openhitls should be built firstly.
run like
openhitls_benchmark // run all benchmark testcases
openhitls_benchmark -a sm2* // run all sm2 benchmark testcases
openhitls_benchmark -a sm2-KeyGen // just run sm2 KeyGen
openhitls_benchmark -a *-KeyGen // run all KeyGen benchmark testcases, the '-' is needed when match operations.
openhitls_benchmark -a sm2-KeyGen -t 10000 // run 'sm2 KeyGen' 10000 times
openhitls_benchmark -t 10000 // run every benchmark testcase 10000 times
openhitls_benchmark -s 5 // run every benchmark testcase 5 seconds