graph = SocialFramework::NetworkHelper::Graph.get_instance 1 t1 = Time.now u1 = SocialFramework::User.find 1 graph.build u1 t2 = Time.now result = t2 - t1 puts "Tempo para montagem do grafo: #{result}"