# run

### Name

`benchmark-run` - Runs a benchmark based on an algorithm file.

### Synopsis

<code>lucene benchmark run \<ALGORITHM_FILE> \<OUTPUT_DIRECTORY> [?|-h|--help]</code>

### Arguments

`ALGORITHM_FILE`

An algorithm file specifying the parameters of the benchmark to run.

`OUTPUT_DIRECTORY`

Path to a directory where the output files will be written.

### Options

`?|-h|--help`

Prints out a short help for the command.

### Example

Runs a benchmark on the `c:\check.alg` algorithm file.

<code>lucene benchmark run c:\check.alg</code>
