Tag

Build Optimization

0 views collected around this technical thread.

macrozheng
macrozheng
May 16, 2025 · Backend Development

Boost Java Build Speed with Maven‑mvnd: Faster, Resource‑Efficient Builds

This article explains how Maven‑mvnd addresses slow build times, high resource consumption, frequent build latency, and multi‑project build inefficiencies by using a long‑running daemon, GraalVM native executables, and seamless Maven compatibility, providing step‑by‑step installation and usage guidance.

Build OptimizationCI/CDJava
0 likes · 8 min read
Boost Java Build Speed with Maven‑mvnd: Faster, Resource‑Efficient Builds
Sohu Tech Products
Sohu Tech Products
Jan 22, 2025 · Frontend Development

Implementing a Webpack Plugin for Incremental CDN Upload with Caching

The article explains how to build a custom Webpack plugin that uploads compiled static assets to a CDN, rewrites public‑path references to CDN URLs, and employs a hash‑based cache file to skip unchanged files, cutting build time from 40 seconds to 17 seconds in large projects.

Build OptimizationCDNCaching
0 likes · 11 min read
Implementing a Webpack Plugin for Incremental CDN Upload with Caching
Code Mala Tang
Code Mala Tang
Dec 11, 2024 · Cloud Native

Speed Up Docker Builds: Proven Tips to Cut Build Time

This guide explains Docker's build process and offers practical techniques—such as structuring Dockerfiles, using multi‑stage builds, leveraging cache, shrinking images, parallel builds, BuildKit, and .dockerignore—to dramatically reduce build times and improve development efficiency.

Build OptimizationBuildKitCaching
0 likes · 8 min read
Speed Up Docker Builds: Proven Tips to Cut Build Time
Selected Java Interview Questions
Selected Java Interview Questions
Nov 19, 2024 · Backend Development

Improving IDEA Maven Build Speed with Multi‑Threading and Build Cache

This guide explains why IDEA's built‑in Maven builds are slow for large multi‑module projects and provides step‑by‑step instructions to enable multi‑threaded builds, delegate IDE builds to Maven, and add Maven cache extensions and configuration files to dramatically reduce build time.

Build OptimizationCacheIDEA
0 likes · 8 min read
Improving IDEA Maven Build Speed with Multi‑Threading and Build Cache
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 24, 2024 · Mobile Development

Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2

This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.

AGPBuild OptimizationGradle
0 likes · 18 min read
Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2
DeWu Technology
DeWu Technology
Jul 10, 2024 · Frontend Development

Optimizing Front-End Build Performance with Rspack in UmiJS Projects

By adding the @umijs/plugin-rspack to UmiJS projects and switching build scripts to rspack-dev and rspack-build, the team replaced Webpack with the Rust-based Rspack compiler, achieving over a two-fold reduction in compilation time—from 150 seconds to around 20 seconds—while preserving compatibility with existing plugins and Module Federation setups.

Build OptimizationFront-endReact
0 likes · 21 min read
Optimizing Front-End Build Performance with Rspack in UmiJS Projects
Tencent Cloud Developer
Tencent Cloud Developer
Jul 3, 2024 · Frontend Development

Improving Front-End Development Efficiency with Monorepo, Automated Publishing, and Build Optimization

By consolidating seven repositories into a pnpm‑powered monorepo and automating releases with Nx, changesets, and OCI, Tencent’s Basic Development Center cut CI time over 80%, shrank bundle sizes, accelerated builds from seven to two minutes, and eliminated fragile manual publishing steps.

Build OptimizationCI/CDMonorepo
0 likes · 36 min read
Improving Front-End Development Efficiency with Monorepo, Automated Publishing, and Build Optimization
Java Architecture Diary
Java Architecture Diary
Jun 20, 2024 · Backend Development

Boost Your Java Builds: How Mvnd Accelerates Maven with GraalVM

Mvnd, the Apache Maven Daemon built with GraalVM, runs as a native executable that eliminates JVM startup overhead, reduces memory usage, and parallelizes module builds, delivering up to several‑fold speed improvements over traditional Maven, as demonstrated with real‑world performance tests and simple installation steps.

Build OptimizationGraalVMJava
0 likes · 5 min read
Boost Your Java Builds: How Mvnd Accelerates Maven with GraalVM
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
Selected Java Interview Questions
Selected Java Interview Questions
Apr 10, 2024 · Operations

Optimizing Spring Boot Docker Image Layering to Reduce Build Size and Push Overhead

This article explains how to analyze and optimize Spring Boot Docker images by using the new layer‑building feature in Spring Boot 2.3, restructuring Dockerfiles, and employing multi‑stage builds to eliminate duplicate layers, dramatically shrink image size, and speed up image pushes.

Build OptimizationContainerizationDocker
0 likes · 22 min read
Optimizing Spring Boot Docker Image Layering to Reduce Build Size and Push Overhead
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 24, 2024 · Frontend Development

Using TailwindCSS (Tss) in a Vue 3 Resume Project: Concepts, Implementation, and Optimization

This article walks through the author's journey of rebuilding an online resume with Vue 3 and TailwindCSS, explaining core Tailwind concepts, practical code examples, theme switching, and build‑time optimizations to achieve a maintainable, responsive, and lightweight frontend solution.

Build OptimizationCSS UtilityTailwindCSS
0 likes · 36 min read
Using TailwindCSS (Tss) in a Vue 3 Resume Project: Concepts, Implementation, and Optimization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 25, 2023 · Frontend Development

Comprehensive Guide to Building a Vue3 + Vite + TypeScript Project with Permission Management, Component Encapsulation, and Build Optimization

This article presents a step‑by‑step tutorial for creating a Vue 3 project using Vite and TypeScript, covering project scaffolding, routing and permission control, reusable component and directive encapsulation, custom hooks, Axios configuration, build optimization techniques, and essential TypeScript concepts.

Build OptimizationComponent EncapsulationPermission Management
0 likes · 19 min read
Comprehensive Guide to Building a Vue3 + Vite + TypeScript Project with Permission Management, Component Encapsulation, and Build Optimization
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Dec 14, 2023 · Frontend Development

Micro‑Frontend Implementation and Monorepo Management for Large‑Scale Frontend Projects

This article describes how a legacy data‑platform was refactored using a micro‑frontend architecture with Micro‑App, detailed design of main and sub applications, permission handling, routing, build tooling, and a Turborepo‑based monorepo strategy to improve development efficiency and deployment speed.

Build OptimizationFrontend ArchitectureMonorepo
0 likes · 17 min read
Micro‑Frontend Implementation and Monorepo Management for Large‑Scale Frontend Projects
Architect
Architect
Dec 7, 2023 · Backend Development

Engineering Evolution and Optimization of Tencent Docs Microservice Gateway

This article analyzes the existing issues of the Tencent Docs web‑gateway, explains why dependency versions and monorepo structure caused resource exhaustion, and details a series of engineering improvements using pnpm workspace, custom Docker contexts, lock‑file hooks, and soft‑link strategies to achieve a clean, reproducible build pipeline.

Build OptimizationDockerMicroservices
0 likes · 22 min read
Engineering Evolution and Optimization of Tencent Docs Microservice Gateway
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Oct 18, 2023 · Mobile Development

Why Upgrading to AGP 7.0.1 Increased APK Size and How We Fixed It

After upgrading Kuaishou's Android project from AGP 3.4.2 to 7.0.1, the APK size unexpectedly grew despite faster builds, leading to a deep investigation of Dex compression, R8 changes, and build tool versions, ultimately revealing a fastutil library mismatch that was resolved by forcing the correct version.

AGPAPK sizeBuild Optimization
0 likes · 16 min read
Why Upgrading to AGP 7.0.1 Increased APK Size and How We Fixed It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 17, 2023 · Frontend Development

Comprehensive Guide to Webpack: Core Concepts, Configuration, and Essential Plugins

This article provides an in‑depth overview of Webpack, covering its core concepts, entry and output settings, loaders, plugins, mode configurations, source‑map options, browser compatibility, and performance optimizations for both development and production environments.

Build OptimizationPluginWebpack
0 likes · 21 min read
Comprehensive Guide to Webpack: Core Concepts, Configuration, and Essential Plugins
37 Interactive Technology Team
37 Interactive Technology Team
May 22, 2023 · Mobile Development

Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration

The article demonstrates a systematic approach to speeding up large Android Gradle builds by inspecting logs, stack traces, debugging plugins, profiling task execution with a custom plugin, and applying on‑demand configuration, caching, incremental and parallel compilation settings, which together cut build time by roughly 40 %.

Build OptimizationCachingGradle
0 likes · 12 min read
Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration
Sohu Tech Products
Sohu Tech Products
May 17, 2023 · Mobile Development

Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization

This article explains the workings of SwiftLint, a static code analysis tool for Swift, covering its architecture, built‑in rules, configuration options, custom rule creation, UIWebView deprecation detection, and advanced build‑time optimizations to improve linting efficiency in mobile development projects.

Build OptimizationCustom RulesMobile Development
0 likes · 20 min read
Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization
IT Services Circle
IT Services Circle
May 12, 2023 · Frontend Development

Svelte’s Migration from TypeScript to JSDoc and Insights from Deno’s TypeScript Shift

The article explains Svelte’s plan to replace TypeScript with JSDoc, confirms the move with Rich Harris’s tweet, outlines benefits for compiler debugging and type safety, and compares the decision to Deno’s earlier internal migration to JavaScript to cut build time and bundle size.

Build OptimizationDenoJSDoc
0 likes · 4 min read
Svelte’s Migration from TypeScript to JSDoc and Insights from Deno’s TypeScript Shift
Ctrip Technology
Ctrip Technology
Apr 27, 2023 · Mobile Development

Optimizing Android Build Time with Module AAR Strategy in Ctrip's Train Ticket App

This article describes how Ctrip's Train Ticket Android project reduced its clean Gradle build time by more than half using a module‑AAR approach, custom dependency substitution, Maven publishing, and automated tooling, while detailing the challenges, code changes, and performance results.

AARBuild OptimizationCI/CD
0 likes · 22 min read
Optimizing Android Build Time with Module AAR Strategy in Ctrip's Train Ticket App