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/src/css-in-js-styles.tsx       | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 bench/hot-module-reloading/css-stress-test/src/css-in-js-styles.tsx

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

diff --git a/bench/hot-module-reloading/css-stress-test/src/css-in-js-styles.tsx b/bench/hot-module-reloading/css-stress-test/src/css-in-js-styles.tsx
new file mode 100644
index 000000000..d12f4f139
--- /dev/null
+++ b/bench/hot-module-reloading/css-stress-test/src/css-in-js-styles.tsx
@@ -0,0 +1,23 @@
+
+import { Global } from "@emotion/react";
+export function CSSInJSStyles() {
+  return (
+    <Global
+      styles={`
+:root {
+  --timestamp: "16336621338281";
+  --interval: "16";
+  --progress-bar: 56.889%;
+  --spinner-1-muted: rgb(179, 6, 202);
+  --spinner-1-primary: rgb(224, 8, 253);
+  --spinner-2-muted: rgb(22, 188, 124);
+  --spinner-2-primary: rgb(27, 235, 155);
+  --spinner-3-muted: rgb(89, 72, 0);
+  --spinner-3-primary: rgb(111, 90, 0);
+  --spinner-4-muted: rgb(18, 84, 202);
+  --spinner-4-primary: rgb(23, 105, 253);
+  --spinner-rotate: 304deg;
+}  `}
+    />
+  );
+}
-- 
cgit v1.2.3

