All pastes #261424 Raw Edit

Stuff

public python v1 · immutable
#261424 ·published 2006-11-29 06:26 UTC
rendered paste body
stamp = time.timefor ii in range(2):		print "running", prog1,"..."	command = "./"+prog1	starttime = stamp()	commands.getoutput(command)	endtime = stamp()	timetaken = endtime - starttime	print timetaken	prog1runtimes.append(timetaken)	print "running", prog2,"..."	command = "./"+prog1	starttime = time.time()	commands.getoutput(command)	endtime = stamp()	timetaken = endtime - starttime	print timetaken	prog2runtimes.append(timetaken)