Skip to content

Instantly share code, notes, and snippets.

View wpolicarpo's full-sized avatar

Wanderson Policarpo wpolicarpo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am wpolicarpo on github.
  • I am wpolicarpo (https://keybase.io/wpolicarpo) on keybase.
  • I have a public key whose fingerprint is D9F7 D4B7 EDCE 714B E500 F425 264F 2011 6FE3 7ADD

To claim this, I am signing this object:

require "rubygems"
gem "pry-byebug"
gem "minitest"
gem "activerecord", "4.1.16"
require "active_record"
require "minitest/autorun"
require "logger"
require "pry"
@wpolicarpo
wpolicarpo / benchmark.rb
Last active November 25, 2015 03:50
MBA UFRJ - Topological Sort
require "benchmark"
graphs = []
1.upto(10) do |i|
graphs << GraphGenerator.new(i * 100)
end
Benchmark.bmbm(5) do |x|
graphs.each do |graph|