Skip to content

Commit 1480fff

Browse files
committed
test(shared-tree): Remove the report output path to let the benchmark tool to post it to pipeline
1 parent 53e79f3 commit 1480fff

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/dds/tree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"test:customBenchmarks": "mocha --config ./.mocharc.customBenchmarks.cjs",
130130
"test:customBenchmarks:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:customBenchmarks",
131131
"test:memory": "mocha --perfMode --config ./src/test/memory/.mocharc.cjs",
132-
"test:memory-profiling:report": "mocha --config ./src/test/memory/.mocharc.cjs",
132+
"test:memory-profiling:report": "mocha --perfMode --config ./src/test/memory/.mocharc.cjs",
133133
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
134134
"test:mocha:cjs": "cross-env MOCHA_SPEC=dist/test mocha",
135135
"test:mocha:esm": "mocha",

packages/dds/tree/src/test/memory/.mocharc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const extendedConfig = {
2222
"node-option": [...baseNodeOptions, "expose-gc", "gc-global", "unhandled-rejections=strict"], // without leading "--"
2323
"reporter": "@fluid-tools/benchmark/dist/MochaReporter.js",
2424
"reporterOptions": ["reportDir=.memoryTestsOutput/"],
25+
"timeout": "90000",
2526
};
2627

2728
module.exports = extendedConfig;

tools/pipelines/test-perf-benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ parameters:
2727
- name: memoryTestPackages
2828
type: object
2929
default:
30+
- "@fluidframework/tree"
3031
- "@fluidframework/sequence"
3132
- "@fluidframework/map"
3233
- "@fluidframework/matrix"

0 commit comments

Comments
 (0)