Tagged articles
3 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Aug 23, 2022 · Mobile Development

How to Hook objc_msgSend for Precise iOS Method Timing with Assembly

This article explains how to accurately measure the execution time of Objective‑C methods on iOS by implementing a custom objc_msgSend hook in ARM64 assembly, replacing the original implementation with fishhook, and visualizing the results using Chrome tracing, offering a low‑cost, non‑intrusive performance profiling solution.

AssemblyiOSmethod timing
0 likes · 21 min read
How to Hook objc_msgSend for Precise iOS Method Timing with Assembly
58 Tech
58 Tech
Mar 26, 2021 · Mobile Development

Startup Optimization Practices for 58 Tongcheng iOS App: Measurement, Method Timing Detection, Binary Reordering, and Lazy Loading

This article details how 58 Tongcheng improved iOS app startup speed by defining launch time, building automated measurement tools, detecting slow methods via hooking, applying binary reordering with Clang sanitizers, and implementing dynamic library lazy loading, achieving significant reductions in launch latency and page faults.

Binary ReorderingPerformance Optimizationapp startup
0 likes · 25 min read
Startup Optimization Practices for 58 Tongcheng iOS App: Measurement, Method Timing Detection, Binary Reordering, and Lazy Loading
Programmer DD
Programmer DD
Aug 8, 2020 · Backend Development

How to Build a Custom Spring Boot Starter that Logs Method Execution Time

Learn how to create a custom Spring Boot starter named aspectlog-spring-boot-starter that automatically logs method execution times using AOP, covering project setup, Maven configuration, conditional loading, annotation definition, auto‑configuration class, META‑INF registration, and packaging for reuse in other projects.

Custom StarterSpring Bootaop
0 likes · 9 min read
How to Build a Custom Spring Boot Starter that Logs Method Execution Time