Mercurial > hg > piper-vamp-js
changeset 132:8b135ec57c64
Print time taken
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 11 Nov 2016 11:08:05 +0000 |
parents | e4f215205fdc |
children | 2255741a934c |
files | test/node-load-test.js |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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();