# sample

### Name

`benchmark-sample` - Sample of a performance test written programatically instead of using an algorithm file.

### Synopsis

<code>lucene benchmark sample [-src|--view-source-code] [-out|--output-source-code]  [?|-h|--help]</code>

### Options

`?|-h|--help`

Prints out a short help for the command.

`-src|--view-source-code`

Prints the source code to the console. Use `SPACE` or `n` to move to the next page of text, `ENTER` to scroll to the next line of text, `q` or `x` to quit.

`-out|--output-source-code <DIRECTORY>`

Outputs the source code to the specified directory.

### Example

Runs the sample.

<code>lucene benchmark sample</code>
