Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 4.03 KB

File metadata and controls

76 lines (46 loc) · 4.03 KB

LOGO

Performance Testing Report

To ensure that AlignKit delivers optimal performance and robustness, we conducted various forms of performance testing. Below is a detailed overview of the key tests we performed, along with their results.


Note

The following simulation was done on iPhone 14, running on iOS 18.1 with a testing procedure of same parameters

1. FPS Stability

A consistent and smooth user experience requires the OS to maintain a refresh rate of 60 FPS. Any significant drops in FPS can lead to visual stuttering and poor performance perception. With AlignKit, we consistently achieved stable FPS, ensuring smooth animations and seamless UI interactions.

Result Comparison
FPS

2. CPU Utilization

Managing constraints efficiently is crucial for keeping CPU utilization at an optimal level. High CPU usage can lead to increased power consumption and reduced device responsiveness. AlignKit demonstrated highly efficient CPU usage, outperforming comparable alternatives and minimizing computational overhead during layout calculations.

Result Comparison
CPU U

3. Core Animation Layout Duration

Core Animation is a critical component of rendering smooth transitions and layouts. The layout duration reflects how quickly the system can calculate and prepare layouts for rendering. When AlignKit was used, the Core Animation layout times got significantly reduced, showcasing its efficiency in handling complex constraints and dynamic UI updates.

Result Comparison
CAU

4. Memory Usage

Efficient memory usage is vital to prevent crashes and maintain smooth app performance, especially on devices with limited resources. In the following perfomance testing AlignKit demonstrated slightly better memory management, leading to a smaller memory footprint compared to other frameworks(Memory footprints were almost the same for all).

Result Comparison
Memory

5. Boot Constraint Setup Performance

The time required to initialize and apply constraints directly impacts the app's launch performance. With AlignKit, we observed a significant improvement in constraint setup performance compared to the market alternative, ensuring faster boot times and a smoother user experience right from the start. The perfomance can be further improved by cold starting the framework.

Result Comparison
BCSP

6. Layout Performance

The efficiency of the layout engine affects how quickly UI elements are updated, especially during animations or dynamic content changes. AlignKit gave the same perfomance of NSLayoutConstraints in layout performance, demonstrating its ability to handle complex scenarios with any lag or delay.

Result Comparison
LP

Summary

The comprehensive performance testing validates that AlignKit not only matches but often surpasses the performance of leading alternatives. From FPS stability to memory management and CPU efficiency, AlignKit proves to be a reliable and modern solution for constraint management, offering a robust and developer-friendly experience.