changeset 77:4422cf710cf4 timing

Some testing results
author Chris Cannam
date Tue, 06 May 2014 11:21:28 +0100
parents f3bf6503e6c6
children 5314d3361dfb
files src/Silvet.cpp testdata/timing/results.txt
diffstat 2 files changed, 23 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/Silvet.cpp	Tue May 06 11:17:08 2014 +0100
+++ b/src/Silvet.cpp	Tue May 06 11:21:28 2014 +0100
@@ -526,7 +526,7 @@
     while (int(active.size()) < polyphony) {
         --si;
         if (si->first < threshold) break;
-//        cerr << si->second << " : " << si->first << endl;
+        cerr << si->second << " : " << si->first << endl;
         active[si->second] = si->first;
         if (si == strengths.begin()) break;
     }
@@ -587,7 +587,7 @@
         int velocity = maxStrength * 2;
         if (velocity > 127) velocity = 127;
 
-//        cerr << "Found a genuine note, starting at " << columnDuration * start << " with duration " << columnDuration * duration << endl;
+        cerr << "Found a genuine note, starting at " << columnDuration * start << " with duration " << columnDuration * duration << endl;
 
         Feature nf;
         nf.hasTimestamp = true;
--- a/testdata/timing/results.txt	Tue May 06 11:17:08 2014 +0100
+++ b/testdata/timing/results.txt	Tue May 06 11:21:28 2014 +0100
@@ -43,5 +43,25 @@
 user	1m46.093s
 sys	0m0.157s
 
-commit:7133f78ccbf6, as commit:ce64d11ef336 but with CQ output and FCQ
+commit:78a7bf247016, as commit:ce64d11ef336 but with CQ output and FCQ
 output feature return commented out
+
+real	1m45.206s
+user	1m45.153s
+sys	0m0.147s
+
+conclusion: no advantage in removing these
+
+
+DEBUG PRINTOUTS:
+
+commit:f3bf6503e6c6, as commit:ce64d11ef336 but with debug printouts
+removed
+
+real	1m43.744s
+user	1m43.657s
+sys	0m0.203s
+
+conclusion: obviously we want to remove these eventually but might as
+well keep in during testing
+