Testing Conditions
-
Development Board:EPC-6G2C-L
-
Processor:Freescale I.MX6UL (Cortex-A7 core)
-
Clock Frequency:528MHz
-
Memory:128MB DDR3
-
System:AWorks/Linux
-
GUI Framework:AWTK
-
Screen:480×272, 16-bit color
Testing Examples
This article selects 5 AWTK demo programs for testing, with the controls used for each example listed in Table 1.
Table 1 AWTK Testing Examples and Controls Used

Testing Method
First, test the Debug version and Release version of AWTK under the AWorks system for comparison, then test AWTK under the Linux system for a simple comparison with the AWorks platform to evaluate AWTK’s cross-platform performance. Finally, under Linux, conduct a rough comparison with several Qt examples that have similar functions and controls.
Due to platform limitations, there will be some differences in testing items between AWorks and Linux.The general tests include frame rate, memory copy speed, AWTK interface startup time, memory usage, and CPU usage rate.
Testing Results
Debug version test results are detailed in Table 2.
Table 2 Debug Version Test Results

2. Release Version under AWorks System
Release version test results are detailed in Table 3.
Table 3 Release Version Test Results

Notes:
-
AWTK Startup Time:Refers to the time taken from executing the main function to opening the interface;
-
Overall Startup Time:Refers to the time taken from powering on to opening the interface after burning the program onto the development board.
Whether it is the Debug version or the Release version, the AWTK interface startup time is very short, all within 15ms. Comparing the two versions shows a clear improvement in the Release version.
3. Release Version under Linux System
To compare AWTK’s performance under Linux, these examples were cross-compiled and run, with the relevant test results listed in Table 4.
Table 4 AWTK Test Results under Linux

Notes:
Memory usage and CPU usage are derived from the VSZ% and %CPU results of the top command.
It can be seen that AWTK performs quite well under Linux as well.
4. Comparison with Qt
To compare AWTK with Qt, we selected several examples with similar functions and controls, conducted tests, and the test results are listed in Table 5.
Table 5 Qt Example Test Results

The selected Qt examples are much simpler in function than the AWTK examples, with significantly lower complexity.However, in comparison, AWTK’s application startup time is noticeably faster than Qt’s, and under dynamic conditions, the CPU usage rate is also relatively lower.
AWTK Testing Examples
The AWTK testing examples used in this article can be downloaded from the link below:
https://github.com/zlgopen/awtk-examples

If you have any questions, you can:
Add WeChat ID: zlgmcu-888
Call ZLG Zhiyuan Electronics official technical hotline: 400-888-4005.