Fix eslint errors in test/benchmark

This commit is contained in:
Daniel Imms
2021-08-12 12:59:22 -07:00
parent 51175437e9
commit d8899b0b5d
2 changed files with 92 additions and 92 deletions
+6 -6
View File
@@ -47,22 +47,22 @@ perfContext('Terminal: ls -lR /usr/lib', () => {
perfContext('write/string/async', () => {
let terminal: Terminal;
before(() => {
terminal = new Terminal({cols: 80, rows: 25, scrollback: 1000});
terminal = new Terminal({ cols: 80, rows: 25, scrollback: 1000 });
});
new ThroughputRuntimeCase('', async () => {
await new Promise<void>(res => terminal.write(content, res));
return {payloadSize: contentUtf8.length};
}, {fork: false}).showAverageThroughput();
return { payloadSize: contentUtf8.length };
}, { fork: false }).showAverageThroughput();
});
perfContext('write/Utf8/async', () => {
let terminal: Terminal;
before(() => {
terminal = new Terminal({cols: 80, rows: 25, scrollback: 1000});
terminal = new Terminal({ cols: 80, rows: 25, scrollback: 1000 });
});
new ThroughputRuntimeCase('', async () => {
await new Promise<void>(res => terminal.write(content, res));
return {payloadSize: contentUtf8.length};
}, {fork: false}).showAverageThroughput();
return { payloadSize: contentUtf8.length };
}, { fork: false }).showAverageThroughput();
});
});