Tag

Incremental Compilation

0 views collected around this technical thread.

ByteDance Web Infra
ByteDance Web Infra
Jan 13, 2025 · Fundamentals

Build Systems and Bundlers: Concepts, Rebuilders, Schedulers, and Incremental Compilation

This article introduces the theory of build systems from the paper “Build Systems à la Carte”, explains core concepts such as tasks, inputs, outputs, info, store, and build, and shows how modern bundlers like Webpack, Turbopack, Vite and Rspack can be understood as specific combinations of rebuilder and scheduler strategies to achieve incremental compilation, minimality and early cutoff.

BundlersIncremental CompilationRspack
0 likes · 19 min read
Build Systems and Bundlers: Concepts, Rebuilders, Schedulers, and Incremental Compilation
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Mobile Development

Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions

The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.

Android Studio PluginAnnotation ProcessorBuild Optimization
0 likes · 40 min read
Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions
政采云技术
政采云技术
Jan 31, 2023 · Frontend Development

An Introduction to Turbopack: Features, Performance, and Ecosystem

This article introduces Turbopack, a Rust‑based successor to Webpack, explains its incremental caching, on‑demand compilation, SWC compiler, persistence and import support, demonstrates its speed advantages with Next.js benchmarks, and discusses current ecosystem challenges and future prospects.

Incremental CompilationNext.jsPerformance Testing
0 likes · 12 min read
An Introduction to Turbopack: Features, Performance, and Ecosystem
ByteDance Web Infra
ByteDance Web Infra
Sep 8, 2022 · Frontend Development

Understanding Incremental Compilation in TypeScript

TypeScript’s incremental compilation, introduced in version 3.4, speeds up build times by reusing previous build information stored in a tsBuildInfoFile, and this article explains the entry points, how old and current programs are created, change detection rules, and configuration of the buildInfo file.

BuildInfoCompilation OptimizationIncremental Compilation
0 likes · 9 min read
Understanding Incremental Compilation in TypeScript
Youzan Coder
Youzan Coder
Feb 5, 2021 · Mobile Development

Savitar 2.0: Incremental Android Compilation Solution – Design, Features, and Performance

Savitar 2.0 is an incremental Android compilation system that combines a GUI plugin, a dynamically updatable Runner, a Gradle project‑support plugin, and external tools to compile only changed code, achieving 15‑second builds with over 92% success, saving more than 535 hours, while adding one‑click, MultiDex, and Kotlin internal support and addressing dependency issues, with plans for CLI, offline mode, and open‑source release.

Gradle PluginIncremental CompilationPerformance Optimization
0 likes · 13 min read
Savitar 2.0: Incremental Android Compilation Solution – Design, Features, and Performance
Tencent Music Tech Team
Tencent Music Tech Team
Nov 6, 2020 · Mobile Development

Design and Implementation of an Incremental Compilation Component for Android Projects

The team built a low‑intrusion Gradle plugin that detects changed source and resource files, performs precise dependency analysis, leverages aapt2 for incremental resource compilation, and injects updated Dex and assets into the running app, cutting full Android builds from 418 seconds to 13 seconds and boosting daily developer productivity on large projects such as QQ Music.

Build OptimizationGradle PluginIncremental Compilation
0 likes · 23 min read
Design and Implementation of an Incremental Compilation Component for Android Projects
Ctrip Technology
Ctrip Technology
Aug 27, 2020 · Mobile Development

Improving iOS Build Efficiency through Componentization, Incremental Compilation, and Centralized Caching

This article describes how Ctrip's iOS team reduced build times from nearly an hour to minutes by modularizing the codebase into bundles, applying incremental compilation with CCache, optimizing header search paths, and introducing a centralized cache for faster bundle retrieval.

Build OptimizationCachingIncremental Compilation
0 likes · 11 min read
Improving iOS Build Efficiency through Componentization, Incremental Compilation, and Centralized Caching
FunTester
FunTester
Apr 3, 2020 · Backend Development

Using a Maven Plugin to Incrementally Compile and Skip Tests for Faster Builds

The article explains how a Maven plugin can automatically compile only changed files and skip unit tests when code is unchanged, dramatically reducing build time, and provides step‑by‑step instructions with the necessary pom.xml configuration and a sample XML snippet.

Build OptimizationGradleIncremental Compilation
0 likes · 6 min read
Using a Maven Plugin to Incrementally Compile and Skip Tests for Faster Builds
Youzan Coder
Youzan Coder
Jan 15, 2020 · Mobile Development

Savitar: Incremental Compilation Acceleration for Android Development

Savitar, a custom Android Studio plugin suite, accelerates incremental compilation by detecting changed files with Watchman, gathering project metadata, invoking javac/kotlinc and AAPT2 for on‑demand builds, and hot‑loading Dex and resources at runtime, cutting average incremental build time from 110 seconds to 15 seconds and saving thousands of developer hours.

Build OptimizationGradleIncremental Compilation
0 likes · 20 min read
Savitar: Incremental Compilation Acceleration for Android Development
Youzan Coder
Youzan Coder
Nov 1, 2019 · Mobile Development

Xiaojie's Journey: From Intern to Android Developer at Youzan

Xiaojie, a software engineering graduate, turned his Youzan internship into a full-time Android developer role by inventively cutting Android incremental compile time from minutes to seconds, earning praise for his proactive problem-solving, thriving in the company’s supportive, growth-focused culture.

Android DevelopmentIncremental CompilationRetail Technology
0 likes · 7 min read
Xiaojie's Journey: From Intern to Android Developer at Youzan