Loading...
Loading...
Compare original and translation side by side
tuist build list --jsontuist build show <build-id> --jsontuist build xcode target list <id> --jsontuist build xcode issue list <id> --jsontuist build xcode cache-task list <id> --jsontuist build list --jsontuist build show <build-id> --jsontuist build xcode target list <id> --jsontuist build xcode issue list <id> --jsontuist build xcode cache-task list <id> --jsontuist build show <base-id> --json
tuist build show <head-id> --jsontuist build show <base-id> --json
tuist build show <head-id> --jsontuist build list --git-branch <base-branch> --json --page-size 1
tuist build list --git-branch <head-branch> --json --page-size 1tuist build show <id> --jsontuist build list --git-branch <base-branch> --json --page-size 1
tuist build list --git-branch <head-branch> --json --page-size 1tuist build show <id> --jsonmaingit rev-parse --abbrev-ref HEADmaingit rev-parse --abbrev-ref HEADtuist build show <id> --jsontuist build show <id> --jsontuist build xcode target list <base-id> --json
tuist build xcode target list <head-id> --jsontuist build xcode target list <base-id> --json
tuist build xcode target list <head-id> --jsontuist build xcode issue list <base-id> --json
tuist build xcode issue list <head-id> --jsontuist build xcode issue list <base-id> --json
tuist build xcode issue list <head-id> --jsontuist build xcode cache-task list <base-id> --json
tuist build xcode cache-task list <head-id> --jsontuist build xcode cache-task list <base-id> --json
tuist build xcode cache-task list <head-id> --json| Metric | What to check |
|---|---|
| Flag if head is >10% slower than base |
| Flag if base succeeded but head failed |
| Note if task count changed |
| Compare local hit counts |
| Compare remote hit counts |
| Cache hit rate | |
| Note if one is |
| Ensure both builds used the same scheme and configuration for a fair comparison |
base_misses - head_misses| 指标 | 检查项 |
|---|---|
| 如果待对比构建比基准慢10%以上需要标记 |
| 如果基准构建成功但待对比构建失败需要标记 |
| 注意任务数量是否发生变化 |
| 对比本地缓存命中次数 |
| 对比远端缓存命中次数 |
| 缓存命中率 | |
| 注意是否一个是 |
| 确保两次构建使用了相同的scheme和配置,保证对比公平 |
基准未命中数 - 待对比未命中数categorycategoryxcode_versionmacos_versionis_cigit_branchgit_commit_shaxcode_versionmacos_versionis_cigit_branchgit_commit_shaBuild Comparison: base (abc123 on main) vs head (def456 on feature-x)
Duration: 45.2s -> 62.8s (+39%) -- REGRESSION
Cache hit rate: 85% -> 72% (-13%) -- 8 new cache misses
Status: success -> success
Root cause: Cache hit rate dropped due to 8 targets with invalidated caches.
The dependency hash changed for FeatureModule, cascading to 7 downstream targets.
Recommendations:
- Investigate why FeatureModule's cache was invalidated
- Consider splitting large targets to reduce cascade impactBuild Comparison: base (abc123 on main) vs head (def456 on feature-x)
Duration: 45.2s -> 62.8s (+39%) -- REGRESSION
Cache hit rate: 85% -> 72% (-13%) -- 8 new cache misses
Status: success -> success
Root cause: Cache hit rate dropped due to 8 targets with invalidated caches.
The dependency hash changed for FeatureModule, cascading to 7 downstream targets.
Recommendations:
- Investigate why FeatureModule's cache was invalidated
- Consider splitting large targets to reduce cascade impact