Skip to content

Revert "test(shared-matrix): add execution time performance benchmark tests for insert/remove rows, columns, and set cells" #24778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

yann-achard-MS
Copy link
Contributor

Reverts #24544

Perf Benchmark Pipeline has been failing on the stage "Consolidate output files - @fluidframework/matrix" since #24544 was merged.

The PR changes seem related so I'm reverting as per OCE guidelines.

@Copilot Copilot AI review requested due to automatic review settings June 6, 2025 21:31
@yann-achard-MS yann-achard-MS requested a review from a team as a code owner June 6, 2025 21:31
@github-actions github-actions bot added area: build Build related issues area: dds Issues related to distributed data structures base: main PRs targeted against main branch labels Jun 6, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reverts changes from PR #24544 that introduced execution time performance benchmark tests for the SharedMatrix, following failing benchmarks in the pipeline.

  • Removed "@fluidframework/matrix" from the performance benchmark parameters in the pipeline configuration.
  • Deleted performance benchmark tests and their corresponding Mocha configuration files.
  • Updated package.json and .gitignore to remove references to the benchmark tests.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tools/pipelines/test-perf-benchmarks.yml Removed matrix package from the list of tests to run.
packages/dds/matrix/src/test/time/sharedMatrix.spec.ts Deleted performance benchmark tests for the SharedMatrix.
packages/dds/matrix/src/test/time/.mocharc.cjs Removed the Mocha configuration for execution time tests.
packages/dds/matrix/package.json Removed the npm script for benchmark reporting.
packages/dds/matrix/.gitignore Removed ignore entries specific to benchmark test outputs.
Comments suppressed due to low confidence (4)

tools/pipelines/test-perf-benchmarks.yml:37

  • Verify that removing '@fluidframework/matrix' from the benchmark parameters is aligned with the intended pipeline behavior.
- "@fluidframework/matrix"

packages/dds/matrix/src/test/time/sharedMatrix.spec.ts:1

  • Confirm that the full removal of the SharedMatrix benchmark tests is acceptable per performance testing requirements and archive the tests if they may be needed in the future.
Entire file removed

packages/dds/matrix/package.json:100

  • Ensure that any documentation or references relying on 'test:benchmark:report' are updated to reflect its removal.
"test:benchmark:report": "mocha --config src/test/time/.mocharc.cjs",

packages/dds/matrix/.gitignore:54

  • [nitpick] Confirm that removing '.benchmarkOutput' from .gitignore is intentional and that it won’t affect any future artifact cleanup processes.
# Output folder for execution time profiling tests
.benchmarkOutput

@yann-achard-MS yann-achard-MS enabled auto-merge (squash) June 6, 2025 21:50
@yann-achard-MS yann-achard-MS merged commit c964635 into main Jun 6, 2025
33 checks passed
@yann-achard-MS yann-achard-MS deleted the revert-24544-sharedTree branch June 6, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues area: dds Issues related to distributed data structures base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants