Skip to content

v3: Benchmark#40

Merged
Aternus merged 11 commits into
masterfrom
v3-benchmark
Oct 23, 2025
Merged

v3: Benchmark#40
Aternus merged 11 commits into
masterfrom
v3-benchmark

Conversation

@Aternus
Copy link
Copy Markdown
Owner

@Aternus Aternus commented Oct 23, 2025

Pull Request

It's fascinating to see that sync reads/writes yield better performance compared to using streams.

Changelog

  • Created benchmark to measure the performance of Node.js API

Breaking changes

  • None

- added sourcemaps to facilitate debugging abilities
- extracted helpers into a separate file
- explicitly callout fs-extra
- explicitly callout node modules
- added execution benchmark to ensure consistent performance across changes
- added codex CLI tool
- added table display for benchmark results
- fixed test names
- simplified benchmark code
- added changes to CHANGELOG.md
- set baseline according to GitHub actions reference
- removed tinybench library and implemented custom solution that also tracks memory usage
- changed the destination folder of the benchmark to be tmp dir of the OS
- updated CHANGELOG.md
- increased baseline for benchmark to avoid flakiness
- improved table readability
- fixed charset specification for read file
@Aternus Aternus merged commit 8b501e0 into master Oct 23, 2025
4 checks passed
@Aternus Aternus deleted the v3-benchmark branch October 23, 2025 15:26
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.

1 participant