Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.36 KB

CONTRIBUTING.md

File metadata and controls

37 lines (24 loc) · 1.36 KB

Contributing

So you want to help make this project better? Well, you're in the right place. This project is open source, and we welcome contributions from everyone. Here is some information about how to develop in this project.

Table of Contents

  1. Set up your local development environment 1. Using the VSCode Devcontainer 1. Manual way

Set up your local development environment

Using the VSCode Devcontainer

This repo contains a VSCode Devcontainer configuration to make contribution easier. Here are the steps to use it:

  1. git clone https://github.com/oxidize-rb/rb-sys
  2. code ./rb-sys
  3. Click the green Reopen in Container... button on the bottom right

Manual way

  1. git clone https://github.com/oxidize-rb/rb-sys
  2. Make sure you have Ruby installed
  3. Install Rust and Cargo with Rustup.

Running benchmarks

To run the benchmarks, make sure your dev environment, then run cargo bench. This will run the criterion benchmarks and print the results to the console.

To see see plots of the results, you can open target/criterion/report/index.html in your browser.