Skip to content

Commit 4b0edde

Browse files
author
Cache Hamm
committed
Lower performance targets for CI
1 parent 96b3854 commit 4b0edde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"factories"
3838
]
3939
},
40-
"author": "Cache Hamm <cdhamm@gmail.com>",
40+
"author": "Cache Hamm <cache.hamm@gmail.com>",
4141
"license": "ISC",
4242
"bugs": {
4343
"url": "https://github.com/cachecontrol/json-rules-engine/issues"

test/performance.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('Performance', () => {
4848
await engine.run()
4949
const result = perfy.end('any')
5050
expect(result.time).to.be.greaterThan(0.02)
51-
expect(result.time).to.be.lessThan(0.1)
51+
expect(result.time).to.be.lessThan(0.35)
5252
})
5353

5454
it('performs "all" quickly', async () => {
@@ -60,6 +60,6 @@ describe('Performance', () => {
6060
await engine.run()
6161
const result = perfy.end('all')
6262
expect(result.time).to.be.greaterThan(0.02) // assert lower value
63-
expect(result.time).to.be.lessThan(0.1)
63+
expect(result.time).to.be.lessThan(0.35)
6464
})
6565
})

0 commit comments

Comments
 (0)