We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd0ad8 commit e99b391Copy full SHA for e99b391
1 file changed
README.md
@@ -37,8 +37,7 @@ Addon provides three API for measuring the performance of a given period.
37
```js
38
this.get('metrics').start('accounts_page');
39
Ember.run.scheduleOnce('afterRender', () => {
40
- this.get('metrics').end('accounts_page');
41
- let accountsPageRenderDuration = this.get('metrics').measure('accounts_page');
+ let accountsPageRenderDuration = this.get('metrics').end('accounts_page');
42
console.log(accountsPageRenderDuration); // will return the duration to for this render performance in milliseconds.
43
});
44
```
0 commit comments