Skip to content

Commit

Permalink
Add infos about benchark.fyi to Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
benoittgt authored and Benoit Tigeot committed Apr 14, 2016
1 parent 8223d13 commit 1ae2a73
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ are independent of each other. You can do this with the `hold!` command.

```ruby
Benchmark.ips do |x|

# Hold results between multiple invocations of Ruby
x.hold! 'filename'

end
```

Expand All @@ -172,12 +172,20 @@ Benchmark.ips do |x|
x.config(:iterations => 3)

# or

x.iterations = 3

end
```

### Online sharing

If you want to share quickly your benchmark result with others. Run you benchmark
with `SHARE=1` argument. I.e.: `SHARE=1 ruby my_benchmark.rb`.
Result will be sent to [benchmark.fyi](https://benchmark.fyi/) and benchmark-ips
will display the link to share the benchmark's result.


## REQUIREMENTS:

* None!
Expand Down

0 comments on commit 1ae2a73

Please sign in to comment.