module Async::Clock

def self.measure

Measure the execution of a block of code.
def self.measure
	start_time = self.now
	
	yield
	
	return self.now - start_time
end