-
Notifications
You must be signed in to change notification settings - Fork 751
Closed
Labels
Description
Test Details
- Name of test: prepareRepoData Performance Tests
- OS of failure: Linux (Integ)
- VSCode version of failure (minimum/insider/stable): stable
- Link to failing run:e54d549
- Link to failing test:
aws-toolkit-vscode/packages/core/src/testInteg/perf/prepareRepoData.test.ts
Lines 70 to 80 in 085ad38
describe('prepareRepoData', function () { describe('Performance Tests', function () { afterEach(function () { sinon.restore() }) performanceTestWrapper(10, 1000) performanceTestWrapper(50, 500) performanceTestWrapper(100, 100) performanceTestWrapper(250, 10) }) })
Log of Test Failure
AssertionError [ERR_ASSERTION]: Expected total user CPU usage for handles 10 files of size 1000 bytes to be less than 200. Actual user CPU usage was 240.89446059590207
at assertPerformanceMetrics (/codebuild/output/src3874270705/src/github.com/aws/aws-toolkit-vscode/packages/core/src/shared/performance/performance.ts:182:11)
at Context.<anonymous> (/codebuild/output/src3874270705/src/github.com/aws/aws-toolkit-vscode/packages/core/src/shared/performance/performance.ts:160:13)
at Context.fn (/codebuild/output/src3874270705/src/github.com/aws/aws-toolkit-vscode/packages/core/src/test/setupUtil.ts:34:24)
at processImmediate (node:internal/timers:483:21)
at process.topLevelDomainCallback (node:domain:161:15)
at process.callbackTrampoline (node:internal/async_hooks:128:24)
+ expected - actual
-false
+true
```
## Additional Information