Skip to content

Commit

Permalink
Merge branch 'master' of github.com:medikoo/deferred
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jun 5, 2013
2 parents d3dcef6 + ff83f52 commit caf9463
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,12 +636,11 @@ This extension affects performance and it's best not to use it in production env
Being able to see how many promises were initialized (and where) in our flow can be helpful to track application issues, it's also good way to confirm that constructed flow works as intended.
```javascript
var profiler = deferred.profiler();
profiler.profile(); // Start collecting statistics
deferred.profile(); // Start collecting statistics

//...

var stats = profiler.profileEnd(); // End profiling
var stats = deferred.profileEnd(); // End profiling
console.log(stats.log); // See readable output
```
Expand Down

0 comments on commit caf9463

Please sign in to comment.