source: python/bench-test @ 1cc007c

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 1cc007c was 4cc9fe5, checked in by Paul Brossier <piem@altern.org>, 19 years ago

added bench tools

  • Property mode set to 100755
File size: 332 bytes
Line 
1#! /usr/bin/python
2
3from aubio.bench.node import *
4
5datapath = '/var/www'
6respath = '/var/tmp'
7
8def my_print(input,output):
9        cmd = "%s %s %s" % ("time sleep 0.3; echo",input,output)
10        return runcommand(cmd,debug=0)
11
12act_on_results(mkdir,datapath,respath,filter='d')
13act_on_data(my_print,datapath,respath,suffix='.txt')
Note: See TracBrowser for help on using the repository browser.