Files
Donny/강동윤andGitHub cc3c42f864 chore(ci): Configure small benchmark for builds (#79796)
### What?

We can use codspeed for profiling the build performance, considering that these apps are very small.

### Why?

We need an  e2e benchmark.
2025-05-29 21:32:57 +00:00

14 lines
274 B
TypeScript

import * as React from 'react'
import { codeToHtml } from 'shiki'
const code = 'const a = 1' // input code
export default async function Home() {
const html = await codeToHtml(code, {
lang: 'javascript',
theme: 'vitesse-dark',
})
return <pre>{html}</pre>
}