History

added bench tools

Paul Brossier committed 21 years ago

Commit 4cc9fe51 parent 3ec9d9c8 files · +185 −0Browse files

Showing the changes to python/bench-test (1 of 8 files). Show all

Unified · Split

python/bench-test+13−0
@@ -0,0 +1,13 @@
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')

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t