我用 better-t-stack@lates 。初始化一个项目,居然花了 14 分钟左右
◆ You can reproduce this setup with the following command: │ bun create better-t-stack@latest xscan --frontend next --backend hono --runtime bun --database sqlite --orm prisma --api trpc --auth --addons turborepo --examples none --db-setup none --web-deploy workers --git --package-manager bun --install │ └ Project created successfully in 861.51 seconds!
然后我切换到 pnpm 花了 1 分多接近 2 分钟
◆ You can reproduce this setup with the following command: │ pnpm create better-t-stack@latest pnpm-test --frontend next --backend hono --runtime bun --database sqlite --orm prisma --api trpc --auth --addons turborepo --examples none --db-setup none --web-deploy workers --git --package-manager pnpm --install │ └ Project created successfully in 110.92 seconds!
虽然 pnpm 我觉得也比较慢,但是相比 bun 好太多了。
我记得 bun 刚发布 1.0 的时候 超级快的,现在不知道怎么了 慢得离谱