Tagged articles

Startup Performance

21 articles · Page 1 of 1
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 13, 2026 · Backend Development

Spring Boot Startup Optimization: From 6.2s to 1.8s via Profiling, Lazy Loading & Event-Driven Init

A real-world case study shows how systematic profiling with Spring Boot Actuator and JFR, combined with scan-scope reduction, selective @Lazy on external clients, HikariCP deferred connection, and ApplicationReadyEvent-driven async initialization cut a Spring Boot 3.1.5 order-service startup from 6.2 seconds to 1.8 seconds on Java 17.

Event-Driven InitializationHikariCPLazy Loading
0 likes · 22 min read
Spring Boot Startup Optimization: From 6.2s to 1.8s via Profiling, Lazy Loading & Event-Driven Init
Raymond Ops
Raymond Ops
Aug 27, 2026 · Operations

Why Is Your Linux Server Booting So Slowly? Practical Boot Chain Optimization

The article explains why Linux servers often experience slow boot times, outlines a systematic method to analyze each stage of the boot chain—from firmware to user services—identifies common bottlenecks, and provides concrete systemd, BIOS, GRUB, initramfs, and service‑level optimizations with commands and verification steps.

GRUBLinuxStartup Performance
0 likes · 33 min read
Why Is Your Linux Server Booting So Slowly? Practical Boot Chain Optimization
James' Growth Diary
James' Growth Diary
Jun 9, 2026 · Backend Development

The 12 ms Secret: How Claude Code Optimizes CLI Startup Performance

This article dissects Claude Code’s 12 ms --version response and its 1.1 MB lazy‑loaded footprint, explaining a four‑layer startup chain that uses fast‑path handling, parallel prefetch, selective lazy imports, memoized global initialization, and compile‑time dead‑code elimination to achieve near‑instant CLI launch.

BunCLILazy Loading
0 likes · 15 min read
The 12 ms Secret: How Claude Code Optimizes CLI Startup Performance
21CTO
21CTO
Nov 5, 2025 · Fundamentals

How PEP 810’s Explicit Lazy Imports Can Speed Up Your Python Apps

PEP 810 introduces explicit lazy imports to Python, allowing modules to be loaded only when needed, which can significantly reduce startup time while keeping the feature optional and backward‑compatible, marking a major step forward after years of community debate and earlier failed attempts.

Language DesignPEP 810Startup Performance
0 likes · 3 min read
How PEP 810’s Explicit Lazy Imports Can Speed Up Your Python Apps
Architect
Architect
May 20, 2025 · Backend Development

Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process

This article analyses why Spring Boot startup can take dozens of seconds, breaks down the most time‑consuming phases such as prepareEnvironment and refreshContext, shows profiling code and screenshots, compares a simple MVC demo with a real‑world project, and identifies external client connections and configuration loading as the biggest bottlenecks.

JavaPerformance OptimizationProfiling
0 likes · 13 min read
Why Is Spring Boot So Slow to Start? A Deep Dive into Its Startup Process
macrozheng
macrozheng
Feb 5, 2025 · Backend Development

How to Cut Spring Boot Startup Time from 7 Minutes to 40 Seconds

This article explains why a SpringBoot service took 6‑7 minutes to start, shows how to pinpoint the bottlenecks using SpringApplicationRunListener and BeanPostProcessor, and presents concrete optimizations—reducing scan paths, manually registering beans, and fixing cache auto‑configuration—to shrink the local startup time to about 40 seconds.

Auto-configurationBeanPostProcessorJavaConfig
0 likes · 18 min read
How to Cut Spring Boot Startup Time from 7 Minutes to 40 Seconds
Sohu Tech Products
Sohu Tech Products
Jan 31, 2024 · Fundamentals

Understanding Mach-O: Structure, Definitions, and Practical Applications

Mach‑O is the macOS and iOS binary format whose header, load commands, and __TEXT/__DATA sections define executable, library, and symbol information, enabling developers to understand loading, linking, and startup performance, and to implement custom initialization hooks or modular launch tasks via custom data sections.

Binary FormatMach-OStartup Performance
0 likes · 10 min read
Understanding Mach-O: Structure, Definitions, and Practical Applications
Baidu Geek Talk
Baidu Geek Talk
Jul 10, 2023 · Mobile Development

How Baidu App Accelerated Android Startup: A Deep Dive into Launch Optimization

This article analyzes Baidu App's Android launch performance, explaining the startup process, identifying bottlenecks, and detailing practical optimizations—including task scheduling, KV storage redesign, lock improvements, and low‑level system tweaks—backed by code samples and measurable results.

AndroidLock RefactoringOptimization
0 likes · 21 min read
How Baidu App Accelerated Android Startup: A Deep Dive into Launch Optimization
Baidu App Technology
Baidu App Technology
Jul 5, 2023 · Mobile Development

Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations

Baidu dramatically accelerated its Android app’s launch by dissecting the cold‑start sequence, applying full‑path analysis, leveraging tracing tools, introducing a priority‑aware task‑scheduling framework, replacing SharedPreferences with the binary UniKV store, eliminating lock contention, and tightening thread, I/O, and library loading, which together cut ANR rates and boosted user retention.

ANRAndroidKV storage
0 likes · 24 min read
Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations
Baidu App Technology
Baidu App Technology
Sep 5, 2022 · Mobile Development

Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis

This article explains how to build a high‑precision Android startup performance pipeline by selecting the right tracing tool, extending Perfetto with custom Gradle instrumentation, handling edge‑case trace mismatches, and using Trace Processor’s Python API for automated wall‑time and CPU‑time regression detection.

AndroidGradlePerfetto
0 likes · 30 min read
Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis
Taobao Frontend Technology
Taobao Frontend Technology
Aug 18, 2021 · Frontend Development

How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets

This article summarizes the CovalenceConf 2019 talk on VS Code’s startup performance, detailing measurement practices, code‑size reductions, lifecycle re‑ordering, V8 code caching, requestIdleCallback usage, and perceived‑performance tricks that together shrink launch time from seconds to under one second.

ElectronJavaScriptPerformance Optimization
0 likes · 17 min read
How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets
Alibaba Terminal Technology
Alibaba Terminal Technology
Aug 5, 2021 · Frontend Development

How VS Code Achieves Sub‑Second Startup: Secrets from CovalenceConf 2019

This article summarizes the key techniques presented at CovalenceConf 2019 for optimizing Visual Studio Code's startup performance, covering measurement, bundling, V8 code caching, lifecycle phase ordering, requestIdleCallback, and perceived‑performance tricks that together reduce launch time to under one second.

ElectronPerformance OptimizationStartup Performance
0 likes · 13 min read
How VS Code Achieves Sub‑Second Startup: Secrets from CovalenceConf 2019
Java Backend Technology
Java Backend Technology
Oct 2, 2019 · Backend Development

How to Speed Up Spring Boot Startup: 15 Optimizations Tested

The article documents a series of Spring Boot 2.1 startup benchmarks on OpenJDK 11, exploring fifteen different tweaks—from using WebFlux instead of WebMVC to enabling AppCDS and disabling unnecessary libraries—showing how each change impacts launch time and culminating in a sub‑second startup.

BenchmarkJavaSpring Boot
0 likes · 11 min read
How to Speed Up Spring Boot Startup: 15 Optimizations Tested
Programmer DD
Programmer DD
Jun 3, 2019 · Backend Development

How to Speed Up Spring Boot Startup: 16 Proven Optimizations

This article walks through a series of practical experiments—ranging from baseline Flux tests to lazy initialization, JVM options, dependency exclusions, and AppCDS—to dramatically reduce Spring Boot application startup time, ultimately achieving sub‑second launch speeds.

BenchmarkJavaOptimization
0 likes · 10 min read
How to Speed Up Spring Boot Startup: 16 Proven Optimizations
360 Tech Engineering
360 Tech Engineering
May 11, 2018 · Mobile Development

Testing SDK Startup Time: Cold, Warm, and Lukewarm Launches on Android

This article explains how to measure and analyze Android SDK startup performance by defining cold, warm, and lukewarm launches, describing a testing methodology that uses specific device, network, and process conditions, and providing ADB commands and shell scripts to capture total launch time.

AndroidSDK TestingStartup Performance
0 likes · 7 min read
Testing SDK Startup Time: Cold, Warm, and Lukewarm Launches on Android
Tencent TDS Service
Tencent TDS Service
Aug 10, 2017 · Mobile Development

How to Supercharge iOS App Startup: Practical Optimization Techniques

This article explains how to measure, analyze, and dramatically improve iOS app launch performance through profiling, removing unused code, compressing assets, and restructuring view controller loading, illustrated with a real‑world WiFi manager case study.

Mobile DevelopmentOptimizationProfiling
0 likes · 18 min read
How to Supercharge iOS App Startup: Practical Optimization Techniques
Efficient Ops
Efficient Ops
Jul 18, 2016 · Mobile Development

How myAPM Empowers Mobile App Performance Monitoring and Optimization

This article explains how Tencent's myAPM platform provides method‑level injection and monitoring for mobile apps, enabling automatic APK size analysis, lag detection, startup performance tracking, and core‑link analysis to help developers identify and eliminate unused code and performance bottlenecks.

APK size analysisAPMMethod Injection
0 likes · 14 min read
How myAPM Empowers Mobile App Performance Monitoring and Optimization