News for hackers. Stuff that matters.
Re:We sped up bun by 100x by yevbar on Thursday April 02, 2026 @04:21PM (#47619666)
The reason being bun actually tested both using the git CLI as well as libgit2. Across the board the C library was 3x slower than just spawning calls to the git CLI.

Under the hood, bun's calling these operations when doing a `bun install` and these are the places where integrating 100% gives the most boost. When more and more git deps are included in a project, these gains pile up.

However, the results appear more at 1x parity when accounting for network times (ie round trip to GitHub)

There are no comments on this comment yet.