search for: 12614ms

Displaying 1 result from an estimated 1 matches for "12614ms".

Did you mean: 10014ms
2012 Jan 27
2
to_json performance
...nish ( of which 8253.6ms spent for the database query, that high because of multiple ORDER BY, that''s another matter). So I tried another way: render text: Yajl::Encoder.encode(my_hash) Using `Yajl::Encoder.encode`(or `MultiJson.encode`for that matter) yields another kind of result: 12614ms (8253.6ms always spent on the database query) Is there something we can do about this? Note: some may point out to try few gems like `rabl`or `acts_as_api`, but don''t forget they are mainly for presentation purpose and they are comparable to the `to_json` performance in this regard. Tha...