mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
test speedup defensive
This commit is contained in:
@@ -176,8 +176,8 @@ describe('wcwidth', () => {
|
||||
for (let i = 0; i < 65536; ++i)
|
||||
y = old_wcwidth(i);
|
||||
let end_old = new Date().getTime();
|
||||
//console.log((end_new - start_new));
|
||||
//console.log((end_old - start_old));
|
||||
// console.log((end_new - start_new));
|
||||
// console.log((end_old - start_old));
|
||||
assert.equal(((end_new - start_new) * 5 < (end_old - start_old)), true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user