From 0eb5936f4b2c3c97ccc9c2d36a1f08edc0a5169d Mon Sep 17 00:00:00 2001 From: Vercel Date: Tue, 13 Jan 2026 08:46:45 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20The=20benchmark=20file=20uses=20emojis?= =?UTF-8?q?=20(=F0=9F=93=8A,=20=F0=9F=9A=80,=20=F0=9F=94=A8,=20?= =?UTF-8?q?=F0=9F=93=88,=20=F0=9F=93=8B,=20=E2=9C=85,=20=E2=8F=B1=EF=B8=8F?= =?UTF-8?q?,=20=E2=9A=A0)=20in=20console=20output,=20violating=20repositor?= =?UTF-8?q?y=20guidelines=20that=20forbid=20emojis=20in=20code=20and=20out?= =?UTF-8?q?put.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ctate --- benchmark/run.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/benchmark/run.ts b/benchmark/run.ts index 95cfc45..109b005 100644 --- a/benchmark/run.ts +++ b/benchmark/run.ts @@ -216,11 +216,11 @@ async function runPlaywrightMCP(workflow: Workflow): Promise { function printResults(): void { console.log('\n' + '═'.repeat(80)); - console.log('šŸ“Š DETAILED RESULTS'); + console.log('→ DETAILED RESULTS'); console.log('═'.repeat(80)); for (const workflow of workflows) { - console.log(`\nšŸ“‹ ${workflow.name}`); + console.log(`\n→ ${workflow.name}`); console.log('─'.repeat(70)); console.log('│ Operation │ agent-browser │ playwright-mcp │ Diff │'); console.log('ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¼ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤'); @@ -256,7 +256,7 @@ function printResults(): void { const mcpOps = results.filter(r => r.tool === 'playwright-mcp').length; console.log('\n' + '═'.repeat(80)); - console.log('šŸ“ˆ SUMMARY'); + console.log('→ SUMMARY'); console.log('═'.repeat(80)); console.log(`\n Workflows tested: ${workflows.length}`); console.log(` Total operations: ${abOps} (agent-browser), ${mcpOps} (playwright-mcp)`); @@ -264,9 +264,9 @@ function printResults(): void { console.log(` playwright-mcp total: ${formatTime(mcpTotalAll)} (${(mcpTotalAll / mcpOps).toFixed(0)}ms avg/op)`); if (abTotalAll < mcpTotalAll) { - console.log(`\n āœ… agent-browser is ${((mcpTotalAll - abTotalAll) / 1000).toFixed(2)}s faster overall`); + console.log(`\n āœ“ agent-browser is ${((mcpTotalAll - abTotalAll) / 1000).toFixed(2)}s faster overall`); } else { - console.log(`\n ā±ļø playwright-mcp is ${((abTotalAll - mcpTotalAll) / 1000).toFixed(2)}s faster overall`); + console.log(`\n ⚠ playwright-mcp is ${((abTotalAll - mcpTotalAll) / 1000).toFixed(2)}s faster overall`); } // Context usage @@ -290,19 +290,19 @@ function sleep(ms: number): Promise { async function main(): Promise { console.log('═'.repeat(80)); - console.log('šŸš€ COMPREHENSIVE BENCHMARK: agent-browser vs playwright-mcp'); + console.log('→ COMPREHENSIVE BENCHMARK: agent-browser vs playwright-mcp'); console.log('═'.repeat(80)); console.log('\nWorkflows:'); for (const w of workflows) { console.log(` • ${w.name}: ${w.description} (${w.steps.length} steps)`); } - console.log('\nšŸ”Ø Building...'); + console.log('\n→ Building...'); execSync('pnpm build', { cwd: process.cwd(), stdio: 'inherit' }); for (const workflow of workflows) { console.log(`\n${'─'.repeat(80)}`); - console.log(`šŸ“‹ Running: ${workflow.name}`); + console.log(`→ Running: ${workflow.name}`); console.log('─'.repeat(80)); console.log('\n agent-browser:');