- 预审中
- 预审通过
- 3 未采纳
【功能建议】【huawei-cloud-codearts-code-gen】CodeArts CLI生成代码耗时过长,一个简单的Fla... 未采纳 编辑 删除
- 华为云码道(CodeArts)代码智能体
- 软件开发生产线 CodeArts
来源: GitCode Issue #172 by 曹晓乐 (https://gitcode.com/developer-skill/vod-skill/issues/172)
描述问题 (Description)
CodeArts CLI生成代码耗时过长,一个简单的Flask应用(6个HTML模板+1个CSS+1个app.py)需要7分39秒。其中模板+CSS生成占57.5%(263秒),是最大瓶颈。模型排队等待也耗时36秒。
复现步骤 (To Reproduce)
- 用户意图: 使用CodeArts CLI生成教师点名系统代码
- Agent执行: Called huawei-cloud-codearts-code-gen skill with GLM-5.1 model to generate a Python Flask application
- 触发错误: performance_issue - CodeArts CLI code generation takes excessively long time (7min39s for a simple Flask app), with template+CSS generation consuming 57.5% of total time
预期行为 (Expected behavior)
简单应用的代码生成应在2-3分钟内完成,模板/CSS生成应支持并行或增量生成以减少等待时间
实际行为 (Actual behavior)
总耗时7分39秒,模板+CSS单步耗时263秒,用户等待体验差
错误堆栈 (Stack Trace)
``` CodeArts CLI code generation performance analysis:
- Total time: 7min 39s (17:17:25 -> 17:25:04)
- Step 1 (project init): ~36s (model queue wait)
- Step 2 (app.py generation): 93s (20.3% of total)
- Step 3 (templates + CSS generation): 263s (57.5% of total) - BIGGEST BOTTLENECK
- Step 4 (requirements.txt): minimal
- Total tokens: 558,612 (input: 79,821 / output: 26,706 / reasoning: 2,229)
The template+CSS generation step is the primary bottleneck, taking nearly 4.5 minutes for 6 HTML templates and 1 CSS file. ```
yd_242696932
发布于 2026-07-04 10:34:38
2026-07-04
52 2
0/1000
仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB
删除建议
全部评论(2)
评论(2)
您好,关于您提交的建议产品和研发团队进行了评估,建议您提交工单复现解决,综合考虑整体需求与产品规划,很抱歉未能采纳,还请您谅解。
对您造成困扰深表歉意!希望以上可以解决您的疑虑,感谢您的反馈,若在使用还有其它建议,可在云声平台继续反馈,我们收到后会尽快处理。感谢您对华为云的支持!
非常感谢您的反馈,您的建议和诉求已经收到,并已提交至相关产品团队进行核查评估,评估完成后对于建议是否采纳会尽快给您答复,也请您持续关注云声平台,了解反馈建议处理进展,感谢您对华为云的支持!