Skip to content

Instantly share code, notes, and snippets.

View tebba-von-mathenstein's full-sized avatar

Tyler Bettilyon tebba-von-mathenstein

View GitHub Profile

Rails Co Pull Request Format

A pull request(PR) is a request for the organization to pull some of your work into the master codebase. This document codifies the rules for opening and merging a PR at RailsCo.

At RailsCo we take our craft very seriously so like any important piece of work, code undergoes an editorial phase before being merged. Pull requests are the main component of this editorial process, and they are the only acceptable way for code to enter the master codebase here at Rails Co.

Before You Open a PR

Because the editorial process is expensive, both in terms of mental power and time taken, there are a few things that must be done before a Sr. Engineer will look at your code. For each new feature or bugfix you submit, run through this checklist first:

@tebba-von-mathenstein
tebba-von-mathenstein / simpleBenchmark.js
Last active February 12, 2016 06:43
A lightweight benchmarking utility to compare multiple versions of a function
/**
* reports the speed of a function.
* Params:
* f: the function
* fParams: array, the parameters f will be called with.
* minTime: number, the minimum amount of time to run each function in seconds.
* verbose: boolean, print to the console if true.
*
* Returns: