speed test commented out

This commit is contained in:
Jörg Breitbart
2017-07-16 23:53:41 +02:00
parent 1232c00dd1
commit 6ed5c9e64d
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -163,6 +163,7 @@ describe('wcwidth', () => {
assert.equal(wcwidth(0x30000), old_wcwidth(0x30000));
assert.equal(wcwidth(0x3fffe), old_wcwidth(0x3fffe));
});
/*
it('new is at least 5 times faster', () => {
let start_new = new Date().getTime();
let x = 0;
@@ -180,4 +181,5 @@ describe('wcwidth', () => {
// console.log((end_old - start_old));
assert.equal(((end_new - start_new) * 5 < (end_old - start_old)), true);
});
*/
});