Skip to content

Commit

Permalink
Fix typo and format
Browse files Browse the repository at this point in the history
  • Loading branch information
pitr-ch committed Aug 6, 2019
1 parent c61ff56 commit dbe9424
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions doc/contributor/benchmarking.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ for the first few iterations).

## OptCarrot

OptCarrot can be run the same way as the example above (with `bench/optcarrot/optcarrot.rb`),
but also has a fixed-workload harness with minimal dependencies,
which can be useful to debug or tune performance.
OptCarrot can be run the same way as the example above (with
`bench/optcarrot/optcarrot.rb`), but also has a fixed-workload harness with
minimal dependencies, which can be useful to debug or tune performance.

Run the fixed-workload harness with minimal dependencies with:

Expand All @@ -31,7 +31,8 @@ $ jt ruby bench/optcarrot/fixed-workload.rb

# Benchmarking without the GraalVM Compiler

You can turn off the GraalVM Compiler if you want, by not including it in the GraalVM build:
You can turn off the GraalVM Compiler if you want, by not including it in the
GraalVM build:

```bash
$ jt build
Expand All @@ -43,8 +44,8 @@ It's the same command to run the benchmark, for instance:
$ jt benchmark bench/classic/mandelbrot.rb --simple
```

You can benchmark an entirely different implementation using the `--use`
option or with `RUBY_BIN` environment variable.
You can benchmark an entirely different implementation using the `--use` option
or with the `RUBY_BIN` environment variable.

```bash
$ jt --use ruby benchmark bench/classic/mandelbrot.rb --simple
Expand Down

0 comments on commit dbe9424

Please sign in to comment.