• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## openhitls benchmark
2
3Before running benchmark, openhitls should be built firstly.
4
5###
6
7### run like
8```
9openhitls_benchmark    // run all benchmark testcases
10
11openhtils_benchmark -a sm2* // run all sm2 benchmark testcases
12
13openhitls_benchmark -a sm2-KeyGen  // just run sm2 KeyGen
14
15openhitls_benchmark -a *KeyGen  // run all KeyGen benchmark testcases
16
17openhitls_benchmark -a sm2-KeyGen -t 10000 // run 'sm2 KeyGen' 10000 times
18
19openhitls_benchmark -t 10000 // run every benchmark testcase 10000 times
20
21openhitls_benchmark -s 5 // run every benchmark testcase 5 seconds
22```