Skip to content

Commit

Permalink
[FEAT] Speed Insights 추가 (#27)
Browse files Browse the repository at this point in the history
EEOS 성능 확인을 위한 Speed Insights 추가하였습니다.
아래와 같은 성능을 확인할 수 있습니다. 
- Real Experience Score
- 나라별, Route/path별 성능 지표 확인
  • Loading branch information
geongyu09 authored May 16, 2024
2 parents 12784fa + 9673395 commit ee5bdfb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions FE/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@types/qs": "^6.9.10",
"@types/react-syntax-highlighter": "^15.5.11",
"@vercel/analytics": "^1.2.2",
"@vercel/speed-insights": "^1.0.10",
"axios": "^1.6.2",
"classnames": "^2.3.2",
"jotai": "^2.6.0",
Expand Down
31 changes: 31 additions & 0 deletions FE/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions FE/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata } from "next";
import "./globals.css";
import { PropsWithChildren } from "react";
Expand Down Expand Up @@ -26,6 +27,7 @@ export default function RootLayout({ children }: PropsWithChildren) {
<body className="flex flex-col items-center">
<Provider>{children}</Provider>
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down

0 comments on commit ee5bdfb

Please sign in to comment.