Loading...
Loading...
Compare original and translation side by side
.build-benchmark/optimization-plan.mdDEBUG_INFORMATION_FORMATdwarf.build-benchmark/optimization-plan.mdDEBUG_INFORMATION_FORMATdwarfproject.pbxprojDEBUG_INFORMATION_FORMAT = dwarfSWIFT_COMPILATION_MODE = singlefileCOMPILATION_CACHING = YESEAGER_LINKING = YESproject.pbxprojbuildSettingsxcodebuild -showBuildSettingsproject.pbxprojDEBUG_INFORMATION_FORMAT = dwarfSWIFT_COMPILATION_MODE = singlefileCOMPILATION_CACHING = YESEAGER_LINKING = YESproject.pbxprojbuildSettingsxcodebuild -showBuildSettings[[ "$CONFIGURATION" != "Release" ]] && exit 0.xcfilelistBased on dependency analysis[[ "$CONFIGURATION" != "Release" ]] && exit 0.xcfilelistfinalprivatefileprivatebodyfinalprivatefileprivatebody@_exported importgit ls-remote --tags <url>xcodebuild -resolvePackageDependencies@_exported importgit ls-remote --tags <url>xcodebuild -resolvePackageDependenciesxcodebuild buildpython3 scripts/benchmark_builds.py \
--project App.xcodeproj \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=iPhone 16" \
--output-dir .build-benchmarkxcodebuild buildpython3 scripts/benchmark_builds.py \
--project App.xcodeproj \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=iPhone 16" \
--output-dir .build-benchmarkCOMPILATION_CACHING = YESCOMPILATION_CACHING = YESCOMPILATION_CACHING = YESEAGER_LINKING = YESSWIFT_USE_INTEGRATED_DRIVER = YESDEBUG_INFORMATION_FORMAT = dwarfSWIFT_COMPILATION_MODE = singlefileONLY_ACTIVE_ARCH = YESCOMPILATION_CACHING = YESEAGER_LINKING = YESSWIFT_USE_INTEGRATED_DRIVER = YESDEBUG_INFORMATION_FORMAT = dwarfSWIFT_COMPILATION_MODE = singlefileONLY_ACTIVE_ARCH = YESRecommend revert"Your clean build now takes X.Xs (was Y.Ys) -- Z.Zs faster." "Your incremental build now takes X.Xs (was Y.Ys) -- Z.Zs faster."
No measurable wall-time improvementCOMPILATION_CACHING"你的干净构建现在耗时X.X秒(之前为Y.Y秒)—— 加快了Z.Z秒。" "你的增量构建现在耗时X.X秒(之前为Y.Y秒)—— 加快了Z.Z秒。"
COMPILATION_CACHINGundefinedundefined| # | Change | Actionability | Measured Result | Status |
|---|---|---|---|---|
| 1 | Description | repo-local | Clean: X.Xs→Y.Ys, Incr: X.Xs→Y.Ys | Kept / Reverted / Blocked |
| 2 | ... | ... | ... | ... |
| 序号 | 变更内容 | 可操作性 | 测得结果 | 状态 |
|---|---|---|---|---|
| 1 | 描述 | 仓库本地 | 干净构建:X.X秒→Y.Y秒,增量构建:X.X秒→Y.Y秒 | 保留 / 回滚 / 阻塞 |
| 2 | ... | ... | ... | ... |
Status values:
- `Kept` -- Change improved or maintained build times and was kept.
- `Kept (best practice)` -- Change is a recommended build setting; kept regardless of immediate benchmark result.
- `Reverted` -- Change regressed build times and was reverted.
- `Blocked` -- Change could not be applied due to project structure, Xcode behavior, or external constraints.
- `No improvement` -- Change compiled but showed no measurable wall-time benefit. Include whether it was kept (for non-performance reasons) or reverted.
状态值说明:
- `保留` —— 变更改善或维持了构建时间,已保留。
- `保留(最佳实践)` —— 变更为推荐的构建设置;无论即时基准测试结果如何,均保留。
- `回滚` —— 变更导致构建时间退化,已回滚。
- `阻塞` —— 由于项目结构、Xcode行为或外部约束,无法应用变更。
- `无改进` —— 变更可编译但未带来可衡量的耗时收益。需注明是因非性能原因保留还是已回滚。xcode-project-analyzerxcode-compilation-analyzerspm-build-analysisxcode-project-analyzerxcode-compilation-analyzerspm-build-analysis