International Edition
Latest News
Technology

Google Releases ABFS on GitHub to Accelerate Large Git Repositories

Google released its Another Build File Service (ABFS) on GitHub on Saturday to reduce checkout and build times for large Git repositories. The tool, which originated as an internal project to streamline Android development, replaces massive local source…

Google released its Another Build File Service (ABFS) on GitHub on Saturday to reduce checkout and build times for large Git repositories.

The tool, which originated as an internal project to streamline Android development, replaces massive local source checkouts with a virtual, content-addressable filesystem, InfoQ reported. By streaming files on demand and utilizing shared build caching, ABFS aims to eliminate redundant downloads and compilation steps.

  • Android checkout times dropped from approximately 36 minutes to under 8 seconds, according to Google.
  • Full build durations for the Android codebase fell from roughly 80 minutes to just over 2 minutes.
  • The system uses a custom Linux kernel module combined with local caching daemons and server-side infrastructure.

Performance Metrics for Android Builds

Process Without ABFS With ABFS
Checkout Time ~36 minutes < 8 seconds
Full Build Time ~80 minutes just over 2 minutes

Beyond simple speed improvements, the system is designed to support parallel agentic workflows. Because it performs lazy loading and local cache deduplication, developers can mount multiple concurrent Android workspaces on a single machine. The service integrates with Bazel and is being extended to support Chromium, pointing to a move toward general infrastructure.

Google Releases ABFS on GitHub to Accelerate Large Git Repositories
Photo: Briefly

At its core, the system uses a custom filesystem—CASFS—that exposes Git SHA content hashes via extended attributes. This allows the system to download only metadata during a directory checkout, while fetching actual file contents only when they are accessed.

To ensure correctness, the service employs a two-phase caching mechanism through Ninja-go, which verifies that files read during a build match the current state of the filesystem before reusing cached outputs.

“After Git on S3 this summer by Cursor, the trend has started of rewriting systems software to handle the massively increased codebases enabled by coding agents,” Hopsworks CEO Jim Downling said on LinkedIn.

Google Releases ABFS on GitHub to Accelerate Large Git Repositories
Photo: Wisevoter

Others questioned the technical approach or the relative benefits compared to existing Git features. “Content addressing is a huge bottleneck by itself,” Ater.tech CTO Vladimir Churyukin said, suggesting that versioned, copy-on-write filesystems might offer a more rigid but effective alternative for detecting differences based on metadata.

Additionally, Dishant Sharma observed that the performance gains might appear smaller for repositories already utilizing partial clones or commit-graphs, where significant checkout costs have already been mitigated.

About the author: Technology Desk

Technology Desk at Archynewsy.