# sample

### Name

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

### Synopsis

```console
lucene benchmark sample [-src|--view-source-code] [-out|--output-source-code]  [?|-h|--help]
```

### 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.

```console
lucene benchmark sample
```
