Skip to content

chipairon/json_generation_comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

A sample application to test performance of json generation done with *partial views and jbuilder* vs plain *ruby hashes*.

You can read more here: <link>

Notes:

To leave out database delays that just add noise over the comparison, there is a fake scope on the Review model to create fake the response. I have included the initial migrations I used, in case anyone finds them useful.

This code does NOT have tests or comments as it is not ment to be iterated/maintained over time. It is just to prove the point and let others try their approach.

About

json generation comparison on Rails 4.2 with jbuilder view partials and with just plain ruby hashes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published