A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://github.com/ccocchi/rabl-benchmark below:

ccocchi/rabl-benchmark: A sample rails project to compare rabl and rabl-rauks gem

This Rails application is used to benchmark two gems : rabl and rabl-rails, both that allows to write API representation for your models as views.

Use rake test TEST=<path_to_test> to launch the tests

Tests are under test/performance/. Rendering cases tested are :

Tests use JSON format.

More tests cases are welcome

rabl-rails gem is ~5% faster when rendering single object, but can be 50% faster when rendering collection with extends (one of the most used case through applications).

rabl-rails alse use less memory globally, around 10%, with 50% less memory used on collection with extend.

See BENCHMARK for details.

If you want to provide another benchmark tests, please fork the code, fix in your local project and then send a pull request on github.

Christopher Cocchi-Perrier - ccocchi | @ccocchi


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4