Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

JS uses // for comments, copy/paste error from python-ostrich

  • Loading branch information...
commit d246257a69731c15474d71ad29e10de9c9539b58 1 parent e6f448e
Wade Simmons authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +5 5 README.md
10 README.md
Source Rendered
@@ -20,7 +20,7 @@ There are three kinds of statistics that ostrich captures:
20 20
21 21 stats.incr("births")
22 22
23   - # or
  23 + // or
24 24
25 25 stats.incr("widgets_sold", 5)
26 26
@@ -38,13 +38,13 @@ There are three kinds of statistics that ostrich captures:
38 38
39 39 A timing is a stopwatch timer around code, like so:
40 40
41   - # you can time how long until a callback fires
  41 + // you can time how long until a callback fires
42 42
43 43 fs.open('file', stats.time('file_opening', function(err, fd) {
44 44 // ...
45 45 })
46 46
47   - # you can also time something by creating a timer
  47 + // you can also time something by creating a timer
48 48
49 49 var timer = stats.time('file_opening')
50 50 fs.open('file', function(err, fd) {
@@ -61,8 +61,8 @@ There are three kinds of statistics that ostrich captures:
61 61 There is a `TimingStat.prototype.toJSON` function provided to make dumping the stats to JSON easy.
62 62 There was an attempt to make this format compatible between Scala, Python and Node.js versions.
63 63
64   - # Don't reset
  64 + // Don't reset
65 65 JSON.stringify(stats.stats())
66 66
67   - # Do reset
  67 + // Do reset
68 68 JSON.stringify(stats.stats(true))

0 comments on commit d246257

Please sign in to comment.
Something went wrong with that request. Please try again.