Skip to content

tseijp/rben

Repository files navigation

👺rben

👺

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?

<Rben
  Globals={['puts "hello"']}
  Cases={['puts "hello"']}
/>

Getting Started

Installation

git clone https://github.com/tseijp/rben
cd rben
yarn

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:3000.

Build

yarn build

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

Deployment

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

About

Ruby Benchmark on your browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors