From ae7b91efe2076254d66d608052f4729fd34b3546 Mon Sep 17 00:00:00 2001
From: Jarred Sumner <jarred@jarredsumner.com>
Date: Thu, 7 Oct 2021 21:27:47 -0700
Subject: Add CSS HMR benchmark

---
 .../css-stress-test/pages/css-in-js.tsx               | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx

(limited to 'bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx')

diff --git a/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx b/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
new file mode 100644
index 000000000..f2fac3f08
--- /dev/null
+++ b/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
@@ -0,0 +1,19 @@
+import { CSSInJSStyles } from "src/css-in-js-styles";
+import { Main } from "src/main";
+export function CSSInJS() {
+  return (
+    <>
+      <CSSInJSStyles />
+      <Main
+        productName={
+          typeof location !== "undefined"
+            ? decodeURIComponent(location.search.substring(1))
+            : ""
+        }
+        cssInJS="Emotion"
+      />
+    </>
+  );
+}
+
+export default CSSInJS;
-- 
cgit v1.2.3

