Tracking developer build times to decide if the M3 MacBook is worth upgrading
incident.io built a custom Go hot-reloader that records build telemetry (platform, memory, power source, Go build stages, triggering files) from developer MacBooks and pipes it through Fivetran into BigQuery. About 25k builds were then analysed with an OpenAI code-interpreter assistant. After excluding failed builds and battery-powered runs, which a t-test confirmed are slower, the analysis bucketed builds by Go cache behaviour. The M2 Pro was roughly twice as fast as the M1 Pro, and doubling memory made little difference. The M3 Max showed no remarkable gain over the M3 Pro, so the company decided to buy M3 Pros.
Related posts
- Debugging Go compiler performance in a large codebase
incident.io mediumAdeptincident.io sped up builds of its Go monolith by tracing the compiler with `go build -debug-trace` and viewing the output in Perfetto. The trace exposed long stretches of idle cores while a large `pkg/domain` package (about 250 table structs, roughly 100k lines) compiled. Using `depguard` to cut that package's dependencies, notably the goldmark markdown library, let it start compiling at about 15s instead of 25s. Moving generated gomega test matchers into a separate `pkg/domain/matchers` package cut the package's compile time by about 30%, which matters because it is rebuilt 10–20 times a day across the team.
- How GitHub reduced testing time for iOS apps with new runner features
GitHub Engineering mediumAdeptGitHub's iOS team cut CI testing time by 60%, from 38 to 15 minutes, by moving to Apple silicon M1 macOS runners (macos-14-xlarge) and splitting a single monolithic build-and-test job into per-module jobs across roughly 60 first-party modules. Small modules finish in 2-3 minutes, and failures are easier to isolate. The team also split each module's CI into separate build and test steps with xcodebuild's build-without-testing and test-without-building to find slow tests. Matching CI and laptop architecture lets engineers reproduce architecture-specific failures locally, and the team fans out 50 concurrent jobs per pull request.
- The quest for the five minute deploy
incident.io mediumAdeptincident.io cut CI/CD times by moving from a hosted provider, where a cold Go build cache made compiling 15,000+ tests across 350+ packages the bottleneck, to Buildkite running on three self-hosted 48-vCPU servers. Prebuilding Ginkgo test binaries and running them in batches on a single server, plus per-server Go build caches, per-yarn.lock Node module caches with pipeline fallback, and local Docker image caches, brought the test step to 2–4 minutes. Production deploys fell from 11.5 to 8.5 minutes, branch builds from 10 to 5.5, and hotfixes to 3.5. Remaining pain points include bin packing containers, under-provisioned disk IOPS, newly exposed flaky tests, cache poisoning, zombie containers, and a fast-growing cache that must be cleared wholesale.
- DevEx matters for coding agents, too
incident.io mediumAdeptincident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it. The gains came from replacing ESLint and Prettier with Biome (40s to under 1s), adopting the preview Go-based TypeScript compiler tsgo while keeping tsc on CI as a safety net, and switching tasks from Node/Yarn to Bun. The team also replaced the Java OpenAPI Generator with a ~700-line Bun/TypeScript generator, built with Claude Code to match the old output exactly, which cut generation from 45s to 0.21s. An upstream Goa PR added parallel file writing and cut its generation time from 52s to 10s.
- Bun v1.2.4
Bun mediumAdept
Bun v1.2.4 makes Bun.build up to 60% faster on macOS by using a dedicated I/O threadpool for file operations on macOS and Windows machines with more than 3 logical CPUs, which reduces filesystem contention. It also fixes Mach-O handling so single-file executables built with `bun build --compile` can be codesigned. The release fixes v1.2.3 regressions affecting Hono default exports, Buffer.indexOf with byte offsets, and invalid JSON imports, along with Node.js compatibility bugs in net.Socket errors, stdin pause hangs and process.argv in eval mode. Smaller changes include net.SocketAddress, PostgreSQL binary type handling, a faster native Array.prototype.includes from WebKit, and SQLite 3.49.1.