Mercurial > hg > piper-vamp-js
diff test/node-load-test.js @ 62:1cde1f236634
Print time taken
author | Chris Cannam |
---|---|
date | Fri, 11 Nov 2016 11:08:05 +0000 |
parents | a1eb63b9ba6f |
children | 4b593b643918 |
line wrap: on
line diff
--- a/test/node-load-test.js Thu Nov 10 18:56:45 2016 +0000 +++ b/test/node-load-test.js Fri Nov 11 11:08:05 2016 +0000 @@ -156,6 +156,8 @@ function test() { + let start = (new Date()).getTime(); + const rate = 44100; note("Listing plugins..."); @@ -241,6 +243,9 @@ } note("Done, total number of features across all outputs = " + featureCount); + + let finish = (new Date()).getTime(); + note("Total time taken " + (finish - start) + " ms"); } test();