From 22778b5b4917f8f27f7625cf0fc069a4aa4be11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Fri, 24 Apr 2026 09:15:26 +0200 Subject: [PATCH] fix utf8 terminal benchmark --- test/benchmark/Terminal.benchmark.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/benchmark/Terminal.benchmark.ts b/test/benchmark/Terminal.benchmark.ts index 4944495b8..fb06b429e 100644 --- a/test/benchmark/Terminal.benchmark.ts +++ b/test/benchmark/Terminal.benchmark.ts @@ -44,7 +44,7 @@ perfContext('Terminal: ls -lR /usr/lib', () => { } }); - perfContext('write/string/async', () => { + perfContext('write/string', () => { let terminal: CoreBrowserTerminal; before(() => { terminal = new CoreBrowserTerminal({ cols: 80, rows: 25, scrollback: 1000 }); @@ -55,13 +55,13 @@ perfContext('Terminal: ls -lR /usr/lib', () => { }, { fork: false }).showAverageThroughput(); }); - perfContext('write/Utf8/async', () => { + perfContext('write/utf8', () => { let terminal: CoreBrowserTerminal; before(() => { terminal = new CoreBrowserTerminal({ cols: 80, rows: 25, scrollback: 1000 }); }); new ThroughputRuntimeCase('', async () => { - await new Promise(res => terminal.write(content, res)); + await new Promise(res => terminal.write(contentUtf8, res)); return { payloadSize: contentUtf8.length }; }, { fork: false }).showAverageThroughput(); });