-
Notifications
You must be signed in to change notification settings - Fork 569
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
Added instructions on how to run all benchmarks for different operating systems #213
Conversation
Please check the new |
The remark that @marghidanu made just before I posted my review translates to Node.js being an additional requirement for the benchmark to run, next to make, bash, Docker (and WSL2 on Windows). This requirement only applies to the new tools setup (see PR #214), but as the new tools are likely to be merged on the short term and Node.js being installed doesn't break the current tools, I agree that it's best to add this to BENCHMARK.md from the beginning. |
It shouldn't. Like I said, it basically adds Node.js (and npm) as an additional prerequisite for the benchmark to run. On Windows, it is important that the nodejs and npm packages are installed inside the WSL2 Ubuntu distro (just like make), not on Windows itself. Edit: I forgot to mention that the Node.js/npm versions that are included in many OS-provided package managers are too old. This means that it will generally be required to download and install an appropriate version of Node.js from https://nodejs.org/en/download/. Personally, I have successfully tested the new tools setup with the current LTS version (that being 14.17.0 at the time of writing). |
Yes, I can include the Node.js instruction somewhere next week. |
That's great news and highly appreciated! |
I have run the new reporting on Linux and that works fine. I also tested on Windows with WSL2, Ubuntu 20.04 and the same Linux binary installed, The solution are all run fine, but the reporting step fails. This is the error:
Anny idea how this can be fixed? |
I'm a bit confused. Darwin is usually aimed at MacOS. How exactly did you install Node within WSL2? |
:-) Indeed, by accidentally extracted the macOS binaries on the WSL2. Tested again with the Linux distribution, that works fine. |
…ew reporting based on Node.js.(PR PlummersSoftwareLLC#214)
@rbergen Added the Node.js instructions. |
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.
I think the Node.js installation instructions you've added are a good addition, indeed. The one comment I'm making is basically to avoid confusion about Makefiles vs. shell scripts, for those who are not fully aware of the differences between the two.
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.
LGTM
Description
Added instructions on how to run all benchmarks for different operating systems. This is a solution for issue #203.
Contributing requirements
Not applicable.
drag-race
as the target branch.