mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Add a benchmark that requires/imports nearly 10k of empty modules. Measures load and execution time for these modules. Might also be useful to measure the compile overhead of modules.
11 lines
213 B
React
11 lines
213 B
React
import { Client } from '../components/client.js'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<h1>Measures the loading time of modules (pages router)</h1>
|
|
<Client prefix="/api" />
|
|
</>
|
|
)
|
|
}
|