Skip to content

Commit

Permalink
easy
Browse files Browse the repository at this point in the history
  • Loading branch information
mstdokumaci committed Aug 4, 2017
1 parent 4063873 commit f9433dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/references/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ test('references - get performance', t => {
d = Date.now() - d

console.log('get through virtual references:', d, 'ms')
t.ok(d < base * 1.5, `get through virtual references take less than ${Math.round(base * 1.5)}ms`)
t.ok(d < base * 2, `get through virtual references take less than ${Math.round(base * 2)}ms`)

t.end()
})
Expand Down Expand Up @@ -257,7 +257,7 @@ test('references - emitter and subscription performance', t => {

d = Date.now() - d
console.log('virtual reference emitters and subscriptions:', d, 'ms')
t.ok(d < base * 2, `virtual reference emitters and subscriptions take less than ${Math.round(base * 2)}ms`)
t.ok(d < base * 3, `virtual reference emitters and subscriptions take less than ${Math.round(base * 3)}ms`)

t.end()
})

0 comments on commit f9433dd

Please sign in to comment.