fix(perf): increase default timeout for perf tests
This commit is contained in:
parent
48125a8448
commit
0aa0c268d6
|
@ -13,11 +13,13 @@ if (process.env.CLOUD_SECRET_PATH) {
|
||||||
}
|
}
|
||||||
|
|
||||||
config.specs = ['dist/cjs/**/*_perf.js'];
|
config.specs = ['dist/cjs/**/*_perf.js'];
|
||||||
|
config.jasmineNodeOpts.defaultTimeoutInterval = 80000;
|
||||||
|
|
||||||
config.params = {
|
config.params = {
|
||||||
benchmark: {
|
benchmark: {
|
||||||
// size of the sample to take
|
// size of the sample to take
|
||||||
sampleSize: 20,
|
sampleSize: 20,
|
||||||
timeout: 20000,
|
timeout: 60000,
|
||||||
metrics: ['script', 'render', 'gcAmount', 'gcAmountInScript', 'gcTime'],
|
metrics: ['script', 'render', 'gcAmount', 'gcAmountInScript', 'gcTime'],
|
||||||
// forces a gc after every run
|
// forces a gc after every run
|
||||||
forceGc: false,
|
forceGc: false,
|
||||||
|
|
Loading…
Reference in New Issue