Skip to content

Commit 04a17b3

Browse files
committed
feat: update benchmarks
1 parent 413d718 commit 04a17b3

File tree

5 files changed

+13
-32
lines changed

5 files changed

+13
-32
lines changed

src/assets/logos/nuxt.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/assets/logos/typeorm.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/components/BenchmarkChart/index.tsx

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,34 @@ const filterByWindowWidth = (array: (number | string)[]) => {
2626
const benchmarks: { category: string; data: number; color: string }[] = [
2727
{
2828
category: 'frourio',
29-
data: 57152.8,
29+
data: 47219.2,
3030
color: '#08c6d6',
3131
},
3232
{
3333
category: 'fastify',
34-
data: 56084.8,
35-
color: '#999',
36-
},
37-
{
38-
category: 'nest-fastify',
39-
data: 53035.2,
34+
data: 47077.6,
4035
color: '#999',
4136
},
4237
{
4338
category: 'frourio-express',
44-
data: 13741.0,
45-
color: '#999',
39+
data: 9934.6,
40+
color: '#08c6d6',
4641
},
4742
{
4843
category: 'express',
49-
data: 13602.0,
44+
data: 10402.6,
5045
color: '#999',
5146
},
5247
{
53-
category: 'nest',
54-
data: 12212.2,
48+
category: 'polka',
49+
data: 48052.0,
5550
color: '#999',
5651
},
5752
].sort((a, b) => b.data - a.data);
5853

5954
const chartSeries = [
6055
{
61-
name: '2022-10-01',
56+
name: '2025-02-07',
6257
data: filterByWindowWidth(benchmarks.map((val) => val.data)),
6358
},
6459
];

src/components/HowtoSetup.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import React, { ComponentType, SVGProps } from 'react';
22
import styles from '../pages/styles.module.css';
3-
43
import NextLogo from '../assets/logos/next.svg';
5-
import NuxtLogo from '../assets/logos/nuxt.svg';
64
import FastifyLogo from '../assets/logos/fastify.svg';
75
import ExpressLogo from '../assets/logos/express.svg';
86
import PrismaLogo from '../assets/logos/prisma.svg';
9-
import TypeormLogo from '../assets/logos/typeorm.svg';
107
import MysqlLogo from '../assets/logos/mysql.svg';
118
import PostgresqlLogo from '../assets/logos/postgresql.svg';
129
import JestLogo from '../assets/logos/jest.svg';
@@ -16,16 +13,16 @@ import NetlifyLogo from '../assets/logos/netlify.svg';
1613

1714
const setupSteps: { text: string; icons: ComponentType<SVGProps<SVGSVGElement>>[] }[] = [
1815
{
19-
text: 'フロントエンドフレームワークを選択',
20-
icons: [NextLogo, NuxtLogo],
16+
text: 'フロントエンドフレームワーク',
17+
icons: [NextLogo],
2118
},
2219
{
2320
text: 'バックエンドフレームワークを選択',
2421
icons: [FastifyLogo, ExpressLogo],
2522
},
2623
{
27-
text: 'ORM を選択',
28-
icons: [PrismaLogo, TypeormLogo],
24+
text: 'O/R Mapper',
25+
icons: [PrismaLogo],
2926
},
3027
{
3128
text: 'データベースを選択',

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function Home() {
114114

115115
<div className={clsx('text--center', styles.feature)}>
116116
<div className="container">
117-
<h2>TypeScript 製で最速のフレームワーク</h2>
117+
<h2>TypeScript フレームワークのベンチマーク</h2>
118118
<BenchmarkChart />
119119
<div className={clsx('text--center', styles.feature)}>
120120
<Link

0 commit comments

Comments
 (0)