From 45c54523100881071275bd5fe7242a1d46558ba9 Mon Sep 17 00:00:00 2001 From: Jonathan Evans <4038905+jrhe@users.noreply.github.com> Date: Wed, 24 Jun 2026 19:33:27 +0100 Subject: [PATCH] Add UniConsent benchmark --- benchmarks/with-uniconsent/app/layout.tsx | 25 +++++++++++++ benchmarks/with-uniconsent/app/page.tsx | 7 ++++ benchmarks/with-uniconsent/config.json | 43 +++++++++++++++++++++++ benchmarks/with-uniconsent/next-env.d.ts | 5 +++ benchmarks/with-uniconsent/next.config.ts | 7 ++++ benchmarks/with-uniconsent/package.json | 26 ++++++++++++++ benchmarks/with-uniconsent/tsconfig.json | 11 ++++++ pnpm-lock.yaml | 34 ++++++++++++++++++ 8 files changed, 158 insertions(+) create mode 100644 benchmarks/with-uniconsent/app/layout.tsx create mode 100644 benchmarks/with-uniconsent/app/page.tsx create mode 100644 benchmarks/with-uniconsent/config.json create mode 100644 benchmarks/with-uniconsent/next-env.d.ts create mode 100644 benchmarks/with-uniconsent/next.config.ts create mode 100644 benchmarks/with-uniconsent/package.json create mode 100644 benchmarks/with-uniconsent/tsconfig.json diff --git a/benchmarks/with-uniconsent/app/layout.tsx b/benchmarks/with-uniconsent/app/layout.tsx new file mode 100644 index 0000000..bcc7d59 --- /dev/null +++ b/benchmarks/with-uniconsent/app/layout.tsx @@ -0,0 +1,25 @@ +import type { Metadata } from "next"; +import type { ReactNode } from "react"; + +export const metadata: Metadata = { + title: "benchmark", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: ReactNode; +}>) { + return ( + + + {/* biome-ignore lint/nursery/noSyncScripts: UniConsent's install snippet requires synchronous stubs before the CMP script. */} +