Talking head
Ruby On Ales 2015

This presentation, by Terence Lee, is licensed under a Creative Commons Attribution ShareAlike 3.0

In Ruby, it's easy to create classes, methods, and objects. For instance, did you know that a hello world sinatra app uses 43 classes, 155 methods, and dispatches 548 methods for a single request. In this talk, we're going use TracePoint API to look at how you can find out this information among other things. Additionally, now that we have all these objects from our Ruby app, the evolving ObjectSpace API we can glean information about rough object size in memory. Let's take a walk through objects in Ruby.

Rated: Everyone
Viewed 627 times
Tags: ruby sinatra