This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adding support for running the benchmark tool in Docker. The docker file has to be in the root, as it requires copying
crates
andxtask
to compilerome
.This work greatly helps encouraging potential users of
rome
to compare the performance against other popular tools on their machine, which gives a much better insight on the peformance improvement they will see. Given that the performance improvement can vary wildly between machines (from ~25-100x faster than prettier for formatting).It also has the additional benefit of a 1 line command and avoids installing dependencies to run the benchmark.
Test Plan
The documentation is updated with the command to be ran. This should be ran by someone else before merging this PR to ensure it works as expected.
Changelog
I don't believe this requires a changelog entry as it does not change the tooling itself.
Documentation
The documentation is updated.