- 粉丝规模
- 3.4万关注 626
- 日常浏览中位数
- 1.6万30天 66条7日 26帖
- 收藏率
- 1.6%赞率 1.9%互动 3.4%
- 30 天黑马爆款
- 11最高 36.8×
已发布产品
3近 2 天粉丝成长曲线
移动鼠标查看每日粉丝变化
近期内容形式分布
近 14 周发文节奏
- 14 周推文
- 71
- 活跃发文日
- 23/98
- 活跃周数
- 6/14
- 周均产出
- 5.1
- 单日峰值
- 7
- 高频星期
- 周二
我们的前端 CI 现在不到 2 分钟。我们做了这些:
- 把 tsc 换成 bun check - 使用 oxlint,能打开的规则都打开 - 按记录下来的测试耗时填充分片 - PR 只运行 diff 能够触及的测试 - lint、类型检查、构建和测试全部并行运行
- 五项改动把前端 CI 压到两分钟
CI is now the most important thing to make fast.
作者通过替换工具链、按测试耗时分片、仅运行变更可触达测试及并行执行,每周节省超过二百小时等待。
- 通过测试分片与并行将持续集成压至一分钟内
CI is now the most important thing to make fast.
Instructions to get your CI under 2 minutes ⚡
Our frontend CI is now under 2 minutes. What we did:
- tsc to bun check - oxlint, every rule we can turn on - shards filled by recorded test time - PRs run only the tests the diff can reach - lint, typecheck, build and tests all run in parallel
Updated: prompt to get your CI under 1 minute. ⚡
Our full CI pipeline is now sub 1 min. Here is what I did:
- Vitest -> bun test - tsc -> bun check - oxlint -> bun lint - oxfmt -> bun fmt - shards filled by recorded test time - PRs run only the tests the diff can reach - backend builds the app once per process - lint, typecheck, build and tests all in parallel
200+ hours of waiting saved every week
3× faster E2E with Flashwright ⚡
- Playwright: 3.55s - Flashwright: 1.13s
to build a great composer:
- prefetch data - tiptap under the hood - aware of the chat and space - keyboard navigation - instant typing, fast animations - save drafts in localStorage - make paste work beautifully
- bonus: intent-based recommendations using jev
用指针速度预测点击,然后在点击落下之前预加载对应路由。ForesightJS + TanStack Router
using pointer velocities to predict which button the user is going to click on
UI components should be lightweight, accessible, and optimized for performance.
bun fmt is 100× faster than Prettier
🥇 bun fmt: 0.07s 🥈 Biome: 0.28s 🥉 dprint: 0.44s 4. Prettier: 7.00s
It's time to change.
Just use border-beam, thank me later
让你的应用感觉即时。
React.lazy 会为已经下载好的代码再等最多 300 毫秒才显示。
在悬停时预加载,并跳过 React.lazy。大约 2 毫秒,而非原来那么久 ⚡
12× faster test runs with Bun canary
vitest run → bun test
bun install: 2.5s → 0.8s. 3x faster, one line in bunfig.toml:
this is sick. use native `getPredictedEvents()` to prefetch before hover.
你的 CI 速度取决于最慢的测试分片,因此可以使用 Vitest 按耗时拆分测试。
turbo-dom 4.8x faster than jsdom
🥇 turbo-dom: 0.22 s 🥈 very-happy-dom: 0.37 s 🥉 happy-dom: 0.38 s
同领域相似创作者
浏览 独立开发 全部创作者 →Meet Dia, the best browser for a better workday. From your friends @browsercompany Now available on Mac and Windows
saved by grace • Mekai’s mama • partner at @collab_capital • founder @Partpic (acq. by @Amazon) • @howardu alumna • she/her
Founder @tech4palestine, @darklang, @circleci (he/him)
Just a dive instructor who learned to code || http://seozast.com ☕️ https://beunderwater.com🤿 my ebook: https://peerquik.com/grow-on-x
