Tagged articles
18 articles
Page 1 of 1
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.

Lazy ImportPEP 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.

Backend DevelopmentJavaPerformance Optimization
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.

BeanPostProcessorCacheJavaConfig
0 likes · 18 min read
How to Cut Spring Boot Startup Time from 7 Minutes to 40 Seconds
macrozheng
macrozheng
Jun 7, 2024 · Backend Development

Boost Java Startup Speed with Class Data Sharing (CDS): A Step‑by‑Step Guide

This article explains what Java Class Data Sharing (CDS) is, walks through training and running a Spring Boot application with CDS, and demonstrates how startup time can be reduced by nearly one second, while comparing CDS with CRaC and GraalVM for Java performance optimization.

Backend DevelopmentClass Data SharingJVM
0 likes · 9 min read
Boost Java Startup Speed with Class Data Sharing (CDS): A Step‑by‑Step Guide
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 FormatClangMach-O
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 RefactoringSharedPreferences
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.

AndroidGradleInstrumentation
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.

BenchmarkJavaSpring Boot
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 DevelopmentProfilingStartup Performance
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