← Implementing the SPEC test executor on HarmonyOS

This article has no English version yet; the original Chinese text follows. Chart labels are in Chinese as well.

SPEC 执行器图表数据

chart-data.json 对应正文 SQLite ref 的一轮执行记录,sqlite-timing.csv 提供三条主命令的同一组数值。记录时间为 2026-09-19,设备型号 SGU-AL10,请求 CPU12。

图表数据含义
sqlite-timing.pngcommands[].mainSeconds入口包装器记录的 main 诊断区间
同图浅色部分commands[].remainingScoredSeconds计分时间减 main 诊断时间:子进程初始化、结束处理与父进程回收的时间
同图总长度commands[].secondsfork 到回收的时间减装载时间
executor-flow.png执行器实现结构生命周期示意

所有 JSON/CSV 时间以秒保存。正文装载列单独乘 1000 显示毫秒。绘图时不要把 loadSeconds 再叠加进 seconds;装载已经扣除。三条主命令相加为 241.934967969 秒,参考 528 秒,比率为 2.182404654。保留原始精度计算,只在标签处四舍五入。

这是一项通过输出校验的 ref 结果,编译字段来自该次结果自身。网站用 commands 数组生成横向堆叠柱形图,主命令顺序为 main、cte、fp。