def measure t = Time.now yield puts Time.now - t end