Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Oct 18, 2021
1 parent 64787dd commit 589b334
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions benchmarks/measure.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const semver = require('semver');

const [ { speed: cpuSpeed } ] = os.cpus();

// eslint-disable-next-line
console.log('cpu', os.cpus());

function getNodeVersionMultiplier() {
const currentNodeVersion = process.version;

Expand Down
4 changes: 2 additions & 2 deletions benchmarks/runtime.bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('runtime', () => {

const { medianDuration } = runBenchmark(() => {
lintManyFilesWithAllRecommendedRules({ numberOfFiles: 350 });
}, 5);
}, 25);

expect(medianDuration).to.be.below(budget);
});
Expand All @@ -106,7 +106,7 @@ describe('runtime', () => {

const { medianMemory } = runBenchmark(() => {
lintManyFilesWithAllRecommendedRules({ numberOfFiles: 350 });
}, 5);
}, 25);

expect(medianMemory).to.be.below(budget);
});
Expand Down

0 comments on commit 589b334

Please sign in to comment.