2 videos are tagged with sinatra

Rating: Everyone
Viewed 1,486 times
Recorded at: March 24, 2011
Date Posted:

Rating: Everyone
Viewed 627 times
Recorded at: March 5, 2015
Date Posted: March 24, 2015

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.