Posts tagged under "ruby"

July 18, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part IV

Ruby's TracePoint API is very powerful for building custom profilers. As the final post of the DIY CPU profiler series, this post will introduce how to get method runtime statistics and generate relevant graphs.

author avatar

Emil Soman

March 12, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part II

Ruby's TracePoint API is very powerful for building custom profilers. In this post I will talk about Wall time and CPU time, and how to measure them for Ruby programs.

author avatar

Emil Soman

March 6, 2015rubycpuprofiler

DIY Ruby CPU profiling - Part I

Ruby's TracePoint API is very powerful and allows us to write custom profiling code without slowing down the execution of programs. In this post, I will introduce CPU profiling and 2 strategies to write one.

author avatar

Emil Soman

April 5, 2014jsonapiruby

An Introduction to JSON Schema

JSON schema can help bring order to handling complex JSON interactions in APIs. For instance, you can avoid checking the types of incoming JSON and rely on JSON schema to do the validation. This post talks about similar usecases.

author avatar

Kashyap