Arkindex API benchmark

The benchmark command can be used by instance admins to evaluate a given Arkindex instance's performances through a series of tests.

arkindex -p $PROFILE_SLUG benchmark

This command will run all the available tests on the Arkindex instance of the given profile.

You can list all the available tests using the --list argument:

arkindex benchmark --list

You can limit the benchmark to specific tests using the --test argument:

arkindex benchmark --test $TEST_SLUG_1 $TEST_SLUG_2

Currently, there is only one available test in the benchmark command: top-levels, which evaluates the response time of an Arkindex instance when listing all the top-level elements in all its corpora.