shithub: aubio

ref: 134cd3a1b76f29e6e2f888da59da9ce6c68cce44
dir: /python.old/bench-test/

View raw version
#! /usr/bin/python

from aubio.bench.node import *

datapath = '/var/www'
respath = '/var/tmp'

def my_print(input,output):
        cmd = "%s %s %s" % ("time sleep 0.3; echo",input,output)
        return runcommand(cmd,debug=0)

act_on_results(mkdir,datapath,respath,filter='d')
act_on_data(my_print,datapath,respath,suffix='.txt')