Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v5] validation: random: limit duration of some tests #2110

Merged

Commits on Sep 3, 2024

  1. validation: random: limit duration of some tests

    Two of the randomness tests are too slow with ARM RNG true
    random. Limit the time that those tests are allowed to run. This saves
    about one minute in some environments.
    
    Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
    Reviewed-by: Matias Elo <matias.elo@nokia.com>
    JereLeppanen committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    258ca52 View commit details
    Browse the repository at this point in the history
  2. test: perf: random: rename the -t,--threads option to -c,--num_cpu

    Rename the -t,--threads option to -c,--num_cpu, to conform to the
    convention used by most of the other test programs.
    
    Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
    Reviewed-by: Matias Elo <matias.elo@nokia.com>
    JereLeppanen committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    40319f5 View commit details
    Browse the repository at this point in the history
  3. test: perf: random: remove unnecessary odp_shm_print_all() call

    To reduce output clutter, remove an unnecessary odp_shm_print_all()
    call.
    
    Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
    Reviewed-by: Matias Elo <matias.elo@nokia.com>
    JereLeppanen committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    5f2472f View commit details
    Browse the repository at this point in the history
  4. test: perf: random: add target test duration command line option

    Add option -t,--time, which can be used to set a target test duration
    per random data type. The default is 500 msec, so the default test
    duration is half a second times the number of available random data
    types. This saves about half a minute in some environments.
    
    Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
    Reviewed-by: Matias Elo <matias.elo@nokia.com>
    JereLeppanen committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    81d052a View commit details
    Browse the repository at this point in the history