HarmonyOSSPEC CPU
Implementing the SPEC test executor on HarmonyOS
The compute code of a SPEC workload is only one part of the test system. Once it lives inside a HarmonyOS app, inputs still have to be prepared, an execution environment set up, lifecycles controlled, time measured, output checked, and all of this linked into a result that can be re-examined. In our SPEC CPU2017 and CPU2026 apps these duties sit in the executor: ArkTS manages tasks, the native layer runs the workload, and the validation layer decides whether a result may count.