forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2efc38
commit 2599e44
Showing
1 changed file
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,52 @@ | ||
# Ruby on Rails Benchmarking Test | ||
# [Ruby on Rails](http://rubyonrails.org/) Benchmarking Test | ||
|
||
This is the Ruby on Rails portion of a [benchmarking test suite](../) comparing a variety of web development platforms. | ||
|
||
### JSON Encoding Test | ||
* [JSON test source](app/controllers/hello_world_controller.rb) | ||
|
||
### Data-Store/Database Mapping Test | ||
|
||
* [Database test source](app/controllers/hello_world_controller.rb) | ||
The information below contains information specific to Ruby on Rails. | ||
For further guidance, review the | ||
[documentation](http://frameworkbenchmarks.readthedocs.org/en/latest/). | ||
Also note the additional information provided in the [Ruby README](../). | ||
|
||
This is the Ruby on Rails portion of a [benchmarking test suite](../../) | ||
comparing a variety of web platforms. | ||
|
||
## Infrastructure Software Versions | ||
|
||
The tests were run with: | ||
|
||
* [Ruby 2.1.2](http://www.ruby-lang.org/) | ||
* [JRuby 1.7.13](http://jruby.org/) | ||
* [Rubinius 2.2.10](http://rubini.us/) | ||
* [Rails 4.1.4](http://rubyonrails.org/) | ||
* [Unicorn 4.8.3](http://unicorn.bogomips.org/) | ||
* [TorqBox 0.1.7](http://torquebox.org/torqbox/) | ||
* [Puma 2.9.0](http://puma.io/) | ||
* [Thin 1.6.2](http://code.macournoyer.com/thin/) | ||
* [MySQL 5.5](https://dev.mysql.com/) | ||
|
||
## References | ||
* https://github.com/FooBarWidget/passenger/pull/71 | ||
|
||
## Test URLs | ||
### JSON Encoding Test | ||
## Paths & Source for Tests | ||
|
||
* [JSON Serialization](app/controllers/hello_world_controller.rb): "/json" | ||
* [Single Database Query](app/controllers/hello_world_controller.rb): "/db", [World Model](app/models/world.rb) | ||
* [Multiple Database Queries](app/controllers/hello_world_controller.rb): "/db?queries={#}", [World Model](app/models/world.rb) | ||
* [Fortunes](app/controllers/hello_world_controller.rb): "/fortune" , [Fortunes Model](app/models/fortune.rb) | ||
* [Database Updates](app/controllers/hello_world_controller.rb): "/update?queries={#}", [World Model](app/models/world.rb) | ||
* [Plaintext](app/controllers/hello_world_controller.rb): "/plaintext" | ||
|
||
## Get Help | ||
|
||
### Experts | ||
|
||
Ruby: | ||
localhost:8080/hello_world/json | ||
_No experts listed, yet. If you're an expert, add yourself!_ | ||
|
||
JRuby: | ||
localhost:8080/hello_world/json | ||
### Community | ||
|
||
### Data-Store/Database Mapping Test | ||
* `#rubyonrails` IRC Channel ([irc.freenode.net](http://freenode.net/)) | ||
* [Ruby on Rails Twitter](https://twitter.com/rails) | ||
* [Ruby on Rails Google Group](https://groups.google.com/forum/#!forum/rubyonrails-talk) | ||
|
||
Ruby: | ||
localhost:8080/hello_world/db?queries=5 | ||
### Resources | ||
|
||
JRuby: | ||
localhost:8080/hello_world/db?queries=5 | ||
* [Ruby on Rails Source Code](https://github.com/rails/rails) | ||
* [PR: passenger-install-apache2-module doesn't work on ruby 2.0](https://github.com/FooBarWidget/passenger/pull/71) |