Skip to content

Commit

Permalink
ci: sleep before cleaning sessionDir
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Sep 29, 2023
1 parent 1f82c57 commit cd59159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/nuts/scale/eda.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import * as path from 'path';
import { performance } from 'node:perf_hooks';
import { TestSession } from '@salesforce/cli-plugins-testkit';
import { sleep } from '@salesforce/kit';
import { MetadataResolver } from '../../../src';
import { MetadataConverter } from '../../../src';
import { ComponentSetBuilder } from '../../../src';
Expand All @@ -29,6 +30,7 @@ describe('tests using EDA', () => {

after(async () => {
await recordPerf(testName, performance);
await sleep(10000);
await session?.clean();
});

Expand Down

1 comment on commit cd59159

@svc-cli-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: cd59159 Previous: 1f82c57 Ratio
eda-componentSetCreate-linux 332 ms 508 ms 0.65
eda-sourceToMdapi-linux 8810 ms 9891 ms 0.89
eda-sourceToZip-linux 5115 ms 6452 ms 0.79
eda-mdapiToSource-linux 5526 ms 6368 ms 0.87
lotsOfClasses-componentSetCreate-linux 644 ms 746 ms 0.86
lotsOfClasses-sourceToMdapi-linux 12203 ms 13741 ms 0.89
lotsOfClasses-sourceToZip-linux 7657 ms 9391 ms 0.82
lotsOfClasses-mdapiToSource-linux 6274 ms 6839 ms 0.92
lotsOfClassesOneDir-componentSetCreate-linux 1136 ms 1272 ms 0.89
lotsOfClassesOneDir-sourceToMdapi-linux 17669 ms 19910 ms 0.89
lotsOfClassesOneDir-sourceToZip-linux 13187 ms 14624 ms 0.90
lotsOfClassesOneDir-mdapiToSource-linux 10941 ms 12134 ms 0.90

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.