Skip to content

chore: update performance tests to use bench-node for benchmarking#332

Merged
bjohansebas merged 1 commit intomasterfrom
perf-results
Aug 16, 2025
Merged

chore: update performance tests to use bench-node for benchmarking#332
bjohansebas merged 1 commit intomasterfrom
perf-results

Conversation

@bjohansebas
Copy link
Member

This simplifies our benchmark tests against node-iconv, using bench-node, which is a great tool for this kind of work.

It doesn’t matter that the tests can’t be run on Node 0.12 or older versions, since it’s already complicated to run node-iconv on those versions nowadays.

It would be great to be able to run the tests again on a new machine to see how much things have changed over the years in Node.js, but for that we’d need a clean machine, and we don’t have those resources available.

Signed-off-by: Sebastian Beltran <bjohansebas@gmail.com>
@coveralls

This comment was marked as off-topic.

@bjohansebas
Copy link
Member Author

Using GitHub runners (they’re not reliable because they usually share resources across multiple workflows, so it’s not a clean machine), the performance would look something like this:

imagen

@bjohansebas bjohansebas merged commit 503f435 into master Aug 16, 2025
35 checks passed
@bjohansebas bjohansebas deleted the perf-results branch August 16, 2025 19:53
@bjohansebas bjohansebas mentioned this pull request Aug 18, 2025
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.

2 participants