2

Travis CI / GitHub Action 编译性能测试

 3 years ago
source link: https://www.taterli.com/8189/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Travis CI / GitHub Action 编译性能测试

Travis CI 已经是一个收费服务,每个GH账号只能有10000点积分,这和标准配置1000分钟,GitHub Action对于私有库每月2000分钟,明显大方很多,最近刚好想试试,用他们分别做同样的事情,看看大家结果.

源码:https://git.dev.taterli.com/nickfox-taterli/rk-project

构建内容包括:

  • ARM ATF
  • Bootloader (U-Boot,BL0,BL1…)
  • Linux Kernel
  • Debian Rootfs
  • 各种杂项工具,比如dtc之类的小工具.
  • xz默认压缩,默认参数.
  • SCP上传部署至美国纽约的服务器.
  • 都是使用Ubuntu 20.04构建.

两者编译脚本一样,机器配置也近似,通过YABS测试成绩也差不多,都是双核,但是Travis CI硬盘大,GitHub Action内存大,如果愿意的话Travis CI可以花更大价钱获得更高配置,对于赶着出结果来说,有特别的优势,当然自己部署应该是最棒的.

个人还是觉得GH Action比较直观,但是Travis CI随着不能免费可能性能有点提升?因为滥用少了?


经过漫长的等待终于有了结果,两个系统得到的文件的MD5完全一样.

GitHub Action总消耗1小时12分14秒:

Travis CI是44分52秒,领先于GitHub 1.6X,看来付费的力量不可小觑.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK