Skip to content

Commit

Permalink
Update sample table in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycuadra committed Mar 1, 2012
1 parent 1fc7615 commit a318af2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -4,14 +4,14 @@

```ruby
profiler = MethodProfiler.new(MyClass)
MyClass.new.my_method
MyClass.new.foo
puts profiler.report

# =========== MethodProfiler data ===========
# Method Average Time Total Calls
# ===========================================
# my_method 239 ms 1
# foo 84 ms 4
# bar 14 ms 3
# ===========================================
# +--------+--------------+-------------+
# | Method | Average Time | Total Calls |
# +--------+--------------+-------------+
# | foo | 91.037000 ms | 1 |
# | bar | 15.016000 ms | 2 |
# | baz | 23.005000 ms | 1 |
# +--------+--------------+-------------+
```

0 comments on commit a318af2

Please sign in to comment.