-
Notifications
You must be signed in to change notification settings - Fork 549
test(shared-tree): Add execution time performance benchmarks for SharedTree table APIs #24881
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 introduces performance benchmark tests for SharedTree's table-related APIs that measure execution times for various table operations such as insertion and removal.
- Added benchmark tests for column, row, and combined insertion and removal operations.
- Updated Mocha configuration to filter performance-relevant tests and included helper functions for table tree initialization.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
packages/dds/tree/src/test/time/tableTree.spec.ts | Adds performance benchmark tests for table operations. |
packages/dds/tree/src/test/time/.mocharc.cjs | Configures Mocha for execution time tests. |
packages/dds/tree/src/test/testHelper.ts | Provides utility functions and type definitions for table trees. |
4efc39e
to
c885a49
Compare
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
Description
This PR introduces performance benchmark tests for SharedTree's table-related APIs, focusing on standard operations. The benchmarks cover:
Insertion of rows, columns, and cells
Includes insertion at the middle of the table for rows and columns. Similarly, tests removal for rows and columns.
Test Result