├── cuba └── benchmarker │ ├── render.rb │ ├── .gitignore │ ├── config.ru │ ├── views │ ├── _bio.erb │ ├── layout.erb │ └── index.erb │ ├── Procfile │ ├── Gemfile │ ├── Gemfile.lock │ └── server.rb ├── rails └── benchmarker │ ├── log │ └── .keep │ ├── lib │ ├── tasks │ │ └── .keep │ └── assets │ │ └── .keep │ ├── app │ ├── mailers │ │ └── .keep │ ├── models │ │ ├── .keep │ │ └── concerns │ │ │ └── .keep │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── stylesheets │ │ │ └── application.css │ │ └── javascripts │ │ │ └── application.js │ ├── controllers │ │ ├── concerns │ │ │ └── .keep │ │ ├── application_controller.rb │ │ └── pages_controller.rb │ ├── helpers │ │ └── application_helper.rb │ └── views │ │ ├── pages │ │ ├── _bio.html.erb │ │ └── index.html.erb │ │ └── layouts │ │ └── application.html.erb │ ├── public │ ├── favicon.ico │ ├── robots.txt │ ├── 500.html │ ├── 422.html │ └── 404.html │ ├── test │ ├── fixtures │ │ └── .keep │ ├── helpers │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ └── .keep │ ├── controllers │ │ └── .keep │ ├── integration │ │ └── .keep │ └── test_helper.rb │ ├── vendor │ └── assets │ │ ├── javascripts │ │ └── .keep │ │ └── stylesheets │ │ └── .keep │ ├── Gemfile │ ├── Procfile │ ├── bin │ ├── rake │ ├── bundle │ └── rails │ ├── config │ ├── routes.rb │ ├── boot.rb │ ├── environment.rb │ ├── initializers │ │ ├── session_store.rb │ │ ├── filter_parameter_logging.rb │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── wrap_parameters.rb │ │ ├── inflections.rb │ │ └── secret_token.rb │ ├── unicorn.rb │ ├── puma.rb │ ├── locales │ │ └── en.yml │ ├── environments │ │ ├── development.rb │ │ ├── test.rb │ │ └── production.rb │ └── application.rb │ ├── config.ru │ ├── Rakefile │ ├── db │ └── seeds.rb │ ├── .gitignore │ ├── README.rdoc │ └── Gemfile.lock ├── phoenix └── benchmarker │ ├── priv │ ├── static │ │ ├── css │ │ │ └── app.css │ │ ├── favicon.ico │ │ ├── images │ │ │ └── phoenix.png │ │ ├── robots.txt │ │ └── js │ │ │ └── app.js │ └── gettext │ │ ├── en │ │ └── LC_MESSAGES │ │ │ └── errors.po │ │ └── errors.pot │ ├── test │ ├── test_helper.exs │ ├── views │ │ ├── page_view_test.exs │ │ ├── layout_view_test.exs │ │ └── error_view_test.exs │ ├── benchmarker_test.exs │ ├── controllers │ │ └── page_controller_test.exs │ └── support │ │ ├── channel_case.ex │ │ └── conn_case.ex │ ├── config │ ├── locales │ │ └── en.exs │ ├── test.exs │ ├── config.exs │ ├── dev.exs │ └── prod.exs │ ├── web │ ├── templates │ │ ├── page │ │ │ ├── error.html.eex │ │ │ ├── bio.html.eex │ │ │ ├── not_found.html.eex │ │ │ └── index.html.eex │ │ └── layout │ │ │ ├── application.html.eex │ │ │ └── app.html.eex │ ├── views │ │ ├── page_view.ex │ │ ├── layout_view.ex │ │ ├── error_view.ex │ │ └── error_helpers.ex │ ├── controllers │ │ └── page_controller.ex │ ├── router.ex │ ├── gettext.ex │ ├── channels │ │ └── user_socket.ex │ └── web.ex │ ├── Procfile │ ├── .gitignore │ ├── README.md │ ├── lib │ ├── benchmarker.ex │ └── benchmarker │ │ └── endpoint.ex │ ├── mix.exs │ └── mix.lock ├── sinatra └── benchmarker │ ├── .gitignore │ ├── views │ ├── _bio.erb │ ├── layout.erb │ └── index.erb │ ├── config.ru │ ├── Procfile │ ├── Gemfile │ ├── server.rb │ └── Gemfile.lock ├── express └── benchmarker │ ├── .gitignore │ ├── views │ ├── _bio.ejs │ ├── _layout_footer.ejs │ ├── _layout_header.ejs │ └── index.ejs │ ├── Procfile.single │ ├── Procfile.cluster │ ├── package.json │ └── server.js ├── gin └── benchmarker │ ├── templates │ ├── bio.tmpl │ ├── layout.tmpl │ └── index.tmpl │ ├── Procfile │ └── server.go ├── martini └── benchmarker │ ├── templates │ ├── bio.tmpl │ ├── layout.tmpl │ └── index.tmpl │ ├── Procfile │ └── server.go ├── play └── benchmarker │ ├── project │ ├── build.properties │ └── plugins.sbt │ ├── Procfile │ ├── app │ ├── views │ │ ├── bio.scala.html │ │ ├── main.scala.html │ │ └── index.scala.html │ ├── models │ │ └── Member.scala │ └── controllers │ │ └── Application.scala │ ├── public │ └── images │ │ └── favicon.png │ ├── activator-launch-1.2.12.jar │ ├── build.sbt │ ├── .gitignore │ ├── conf │ ├── routes │ └── application.conf │ ├── LICENSE │ └── activator ├── plug └── benchmarker │ ├── lib │ ├── views │ │ ├── _bio.eex │ │ ├── layout.eex │ │ └── index.eex │ └── benchmarker.ex │ ├── .gitignore │ ├── Procfile │ ├── mix.lock │ ├── config │ └── config.exs │ └── mix.exs ├── CONTRIBUTING.md ├── bootstrap_darwin.sh ├── bootstrap_ubuntu.sh ├── RESULTS_v1.md ├── RESULTS_v3.md ├── RESULTS_v2.md └── README.md /cuba/benchmarker/render.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phoenix/benchmarker/priv/static/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cuba/benchmarker/.gitignore: -------------------------------------------------------------------------------- 1 | .bundle 2 | 3 | -------------------------------------------------------------------------------- /rails/benchmarker/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sinatra/benchmarker/.gitignore: -------------------------------------------------------------------------------- 1 | .bundle 2 | 3 | -------------------------------------------------------------------------------- /express/benchmarker/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | -------------------------------------------------------------------------------- /rails/benchmarker/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails/benchmarker/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gin/benchmarker/templates/bio.tmpl: -------------------------------------------------------------------------------- 1 | Name: {{.}} 2 | -------------------------------------------------------------------------------- /cuba/benchmarker/config.ru: -------------------------------------------------------------------------------- 1 | require './server' 2 | run Cuba 3 | -------------------------------------------------------------------------------- /martini/benchmarker/templates/bio.tmpl: -------------------------------------------------------------------------------- 1 | Name: {{.}} 2 | -------------------------------------------------------------------------------- /phoenix/benchmarker/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start 2 | 3 | -------------------------------------------------------------------------------- /play/benchmarker/project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=0.13.8 2 | -------------------------------------------------------------------------------- /cuba/benchmarker/views/_bio.erb: -------------------------------------------------------------------------------- 1 | Name: <%= member[:name] %> 2 | -------------------------------------------------------------------------------- /express/benchmarker/views/_bio.ejs: -------------------------------------------------------------------------------- 1 | Name: <%= member.name %> 2 | -------------------------------------------------------------------------------- /plug/benchmarker/lib/views/_bio.eex: -------------------------------------------------------------------------------- 1 | Name: <%= @member.name %> 2 | -------------------------------------------------------------------------------- /sinatra/benchmarker/views/_bio.erb: -------------------------------------------------------------------------------- 1 | Name: <%= member[:name] %> 2 | -------------------------------------------------------------------------------- /phoenix/benchmarker/config/locales/en.exs: -------------------------------------------------------------------------------- 1 | [ 2 | hello: "Hello" 3 | ] 4 | -------------------------------------------------------------------------------- /phoenix/benchmarker/web/templates/page/error.html.eex: -------------------------------------------------------------------------------- 1 | Something went wrong 2 | -------------------------------------------------------------------------------- /plug/benchmarker/.gitignore: -------------------------------------------------------------------------------- 1 | /_build 2 | /deps 3 | erl_crash.dump 4 | *.ez 5 | -------------------------------------------------------------------------------- /sinatra/benchmarker/config.ru: -------------------------------------------------------------------------------- 1 | require './server' 2 | run Sinatra::Application 3 | -------------------------------------------------------------------------------- /express/benchmarker/Procfile.single: -------------------------------------------------------------------------------- 1 | web: NODE_ENV=production node server.js -p $PORT 2 | -------------------------------------------------------------------------------- /gin/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: GOMAXPROCS=4 GIN_MODE=release go run server.go 2 | 3 | -------------------------------------------------------------------------------- /phoenix/benchmarker/web/templates/page/bio.html.eex: -------------------------------------------------------------------------------- 1 | Name: <%= @member.name %> 2 | -------------------------------------------------------------------------------- /rails/benchmarker/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /rails/benchmarker/app/views/pages/_bio.html.erb: -------------------------------------------------------------------------------- 1 | Name: <%= member[:name] %> 2 | -------------------------------------------------------------------------------- /martini/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: GOMAXPROCS=4 MARTINI_ENV=production go run server.go 2 | -------------------------------------------------------------------------------- /play/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: ./target/universal/stage/bin/play-scala -Dhttp.port=$PORT 2 | -------------------------------------------------------------------------------- /express/benchmarker/Procfile.cluster: -------------------------------------------------------------------------------- 1 | web: NODE_ENV=production node server.js -w 4 -p $PORT 2 | -------------------------------------------------------------------------------- /play/benchmarker/app/views/bio.scala.html: -------------------------------------------------------------------------------- 1 | @(member: Member) 2 | 3 | Name: @member.name 4 | -------------------------------------------------------------------------------- /plug/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: MIX_ENV=prod elixir -pa _build/prod/consolidated -S mix server 2 | -------------------------------------------------------------------------------- /cuba/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: RACK_ENV=production bundle exec puma -t 1:16 -w 4 -p $PORT --preload 2 | -------------------------------------------------------------------------------- /play/benchmarker/app/models/Member.scala: -------------------------------------------------------------------------------- 1 | package models 2 | 3 | case class Member(name: String) 4 | -------------------------------------------------------------------------------- /phoenix/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: MIX_ENV=prod elixir -pa _build/prod/consolidated -S mix phoenix.server 2 | -------------------------------------------------------------------------------- /phoenix/benchmarker/web/templates/page/not_found.html.eex: -------------------------------------------------------------------------------- 1 | The page you are looking for does not exist 2 | -------------------------------------------------------------------------------- /rails/benchmarker/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'rails', '5.0.0' 4 | gem 'puma' 5 | -------------------------------------------------------------------------------- /sinatra/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: RACK_ENV=production bundle exec puma -t 1:16 -w 4 -p $PORT --preload 2 | -------------------------------------------------------------------------------- /phoenix/benchmarker/web/views/page_view.ex: -------------------------------------------------------------------------------- 1 | defmodule Benchmarker.PageView do 2 | use Benchmarker.Web, :view 3 | end 4 | -------------------------------------------------------------------------------- /rails/benchmarker/Procfile: -------------------------------------------------------------------------------- 1 | web: PUMA_WORKERS=4 MIN_THREADS=1 MAX_THREADS=16 RACK_ENV=production bundle exec puma 2 | 3 | -------------------------------------------------------------------------------- /sinatra/benchmarker/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'sinatra', '~> 1.4.7' 4 | gem 'puma', '~> 3.5.0' 5 | -------------------------------------------------------------------------------- /phoenix/benchmarker/web/views/layout_view.ex: -------------------------------------------------------------------------------- 1 | defmodule Benchmarker.LayoutView do 2 | use Benchmarker.Web, :view 3 | end 4 | -------------------------------------------------------------------------------- /cuba/benchmarker/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'cuba', '~> 3.8.0' 4 | gem 'puma', '~> 3.4.0' 5 | gem 'tilt' 6 | -------------------------------------------------------------------------------- /rails/benchmarker/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /phoenix/benchmarker/test/views/page_view_test.exs: -------------------------------------------------------------------------------- 1 | defmodule Benchmarker.PageViewTest do 2 | use Benchmarker.ConnCase, async: true 3 | end 4 | -------------------------------------------------------------------------------- /play/benchmarker/public/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mroth/phoenix-showdown/HEAD/play/benchmarker/public/images/favicon.png -------------------------------------------------------------------------------- /phoenix/benchmarker/priv/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mroth/phoenix-showdown/HEAD/phoenix/benchmarker/priv/static/favicon.ico -------------------------------------------------------------------------------- /phoenix/benchmarker/test/views/layout_view_test.exs: -------------------------------------------------------------------------------- 1 | defmodule Benchmarker.LayoutViewTest do 2 | use Benchmarker.ConnCase, async: true 3 | end 4 | -------------------------------------------------------------------------------- /play/benchmarker/activator-launch-1.2.12.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mroth/phoenix-showdown/HEAD/play/benchmarker/activator-launch-1.2.12.jar -------------------------------------------------------------------------------- /phoenix/benchmarker/priv/static/images/phoenix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mroth/phoenix-showdown/HEAD/phoenix/benchmarker/priv/static/images/phoenix.png -------------------------------------------------------------------------------- /rails/benchmarker/config/routes.rb: -------------------------------------------------------------------------------- 1 | Benchmarker::Application.routes.draw do 2 | root to: "pages#index" 3 | get "/:title", to: "pages#index" 4 | end 5 | -------------------------------------------------------------------------------- /rails/benchmarker/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /phoenix/benchmarker/test/benchmarker_test.exs: -------------------------------------------------------------------------------- 1 | defmodule BenchmarkerTest do 2 | use ExUnit.Case 3 | 4 | test "the truth" do 5 | assert 1 + 1 == 2 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /rails/benchmarker/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | APP_PATH = File.expand_path('../../config/application', __FILE__) 3 | require_relative '../config/boot' 4 | require 'rails/commands' 5 | -------------------------------------------------------------------------------- /rails/benchmarker/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /play/benchmarker/project/plugins.sbt: -------------------------------------------------------------------------------- 1 | resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/" 2 | 3 | // The Play plugin 4 | addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.4.2") 5 | -------------------------------------------------------------------------------- /rails/benchmarker/config/boot.rb: -------------------------------------------------------------------------------- 1 | # Set up gems listed in the Gemfile. 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | 4 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 5 | -------------------------------------------------------------------------------- /rails/benchmarker/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | Benchmarker::Application.initialize! 6 | -------------------------------------------------------------------------------- /rails/benchmarker/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Benchmarker::Application.config.session_store :cookie_store, key: '_benchmarker_session' 4 | -------------------------------------------------------------------------------- /play/benchmarker/build.sbt: -------------------------------------------------------------------------------- 1 | name := """play-scala""" 2 | version := "1.0-SNAPSHOT" 3 | 4 | lazy val root = (project in file(".")).enablePlugins(PlayScala) 5 | 6 | scalaVersion := "2.11.7" 7 | routesGenerator := InjectedRoutesGenerator 8 | -------------------------------------------------------------------------------- /express/benchmarker/views/_layout_footer.ejs: -------------------------------------------------------------------------------- 1 | 2 |
5 | 6 | 7 |