Skip to content

Conversation

@7amed3li
Copy link
Contributor

Adds mitata benchmarks using representative examples to establish a performance baseline.

Closes #490

@changeset-bot
Copy link

changeset-bot bot commented Jan 28, 2026

🦋 Changeset detected

Latest commit: 54fec7c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nodesecure/js-x-ray Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security
Copy link

socket-security bot commented Jan 28, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedmitata@​1.0.3410010010081100

View full report

@fraxken
Copy link
Member

fraxken commented Jan 28, 2026

  • No need to add a new tsconfig.json
  • tsx is not required (we are using Node.js type stripping).
  • Please make sure ESLint is happy

@7amed3li 7amed3li force-pushed the feat/benchmark-mitata branch from 96aabb0 to 74bf43b Compare January 28, 2026 19:26
- Add benchmarking infrastructure in workspaces/js-x-ray/benchmark

- Use Node.js type stripping (requires Node >= 22)
@7amed3li 7amed3li force-pushed the feat/benchmark-mitata branch from 74bf43b to 8c5bca0 Compare January 28, 2026 19:34
@7amed3li 7amed3li force-pushed the feat/benchmark-mitata branch from 5030cea to 943acde Compare January 29, 2026 09:33
@7amed3li
Copy link
Contributor Author

Thanks for the feedback ,
I applied the changes 👍

@7amed3li 7amed3li force-pushed the feat/benchmark-mitata branch from 165d250 to f43ecc1 Compare January 29, 2026 12:11
Co-authored-by: Clement Gombauld <[email protected]>
@fraxken fraxken merged commit 667cccf into NodeSecure:master Jan 29, 2026
8 checks passed
@github-actions github-actions bot mentioned this pull request Jan 29, 2026
fraxken pushed a commit that referenced this pull request Jan 29, 2026
* feat: implement benchmarks using mitata

* chore: add changeset

* chore: add performance benchmarks using mitata

- Add benchmarking infrastructure in workspaces/js-x-ray/benchmark

- Use Node.js type stripping (requires Node >= 22)

* chore: consolidate benchmarks into index.ts and move docs to root README

* chore: use import.meta.dirname & move benchmark docs to end of README

* chore: remove redundant run options in benchmarks

* chore: implement file size thresholds for benchmark selection

* chore: benchmark all files in size categories

* Update README.md

Co-authored-by: Clement Gombauld <[email protected]>

---------

Co-authored-by: Clement Gombauld <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement benchmarks with mitata

3 participants