Skip to content

Conversation

@jesstelford
Copy link

Added a function as the return value to res.startTime for stopping the timer:

app.use((req, res, next) => {
  const stopFileTimer = res.startTime('file', "File IO metric")
  setTimeout(() => {
    stopFileTimer();
  }, 100)
  next()
})

@coveralls
Copy link

coveralls commented Feb 14, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 2d7d97e on jesstelford:fluent into 9805311 on yosuke-furukawa:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2d7d97e on jesstelford:fluent into 9805311 on yosuke-furukawa:master.

@yosuke-furukawa yosuke-furukawa force-pushed the master branch 3 times, most recently from e8df689 to 7bc0f13 Compare April 24, 2020 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants