Skip to main content



RBEN is a tool to Benchmark Ruby code inside the browser. This project is a fork of run.rb.

This project compiles Ruby to WebAssembly. Inside /emscripten you'll find (currently) Ruby 2.6.0 and the tooling required to compile Ruby to WASM.

What does it look like?

Globals={['puts "hello"']}
Cases={['puts "hello"']}

Getting Started


git clone
cd rben

Local Development

Run the development server:

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. Your site starts at http://localhost:3d00.


yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.


GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy