Skip to content

Instantly share code, notes, and snippets.

View mostlyobvious's full-sized avatar

Paweł Pacana mostlyobvious

View GitHub Profile
@mostlyobvious
mostlyobvious / osx_rails_env_setup_in_all_steps.md
Created October 1, 2012 23:29 — forked from solnic/osx_rails_env_setup_in_6_steps.md
Steps to get up'n'running with Rails on OS X and Ubuntu

Steps to set up a Rails development environment on OS X:

  • install Apple Command Line Tools
  • install homebrew[1]: ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
  • install rvm: curl -L https://get.rvm.io | bash -s stable
  • source $HOME/.rvm/scripts/rvm
  • rvm install --disable-binary 1.9.3
  • rvm use --default 1.9.3
# muzang.rb
require 'muzang'
require 'muzang-plugins'
class Bshellz
include Muzang::Plugins::Helpers
def initialize(bot)
@bot = bot
end
ab -n 10000 -c 100 http://localhost:8000
eventmachine:
Requests per second: 2495.36 [#/sec] (mean)
Time per request: 40.074 [ms] (mean)
node.js: