diff options
| author | ruki <[email protected]> | 2020-03-23 23:04:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-23 12:25:35 +0800 |
| commit | 867b2b5ec8918d93562a3e4201bee85a0d10e3e0 (patch) | |
| tree | 5827e30c87964cff517887f0bc7461f1109d078b | |
| parent | 64440dcfd77af7b146a78faa8e3c77f64dc9835a (diff) | |
update readme
| -rw-r--r-- | README.md | 22 | ||||
| -rw-r--r-- | README_zh.md | 22 |
2 files changed, 44 insertions, 0 deletions
@@ -122,6 +122,28 @@ $ xmake f --menu <img src="https://xmake.io/assets/img/index/menuconf.png" width="650px" /> +## Build as fast as ninja + +The test project: [xmake-core](https://github.com/xmake-io/xmake/tree/master/core) + +### Termux/Android cpu/8core (-j12) + +| buildsystem | spend time | +|----- | ---- | +|xmake | 24.890s | +|ninja | 25.682s | +|cmake(gen+make) | 5.416s+28.473s | +|cmake(gen+ninja) | 4.458s+24.842s | + +### MacOS cpu/8core (-j12) + +| buildsystem | spend time | +|----- | ---- | +|xmake | 12.264s | +|ninja | 11.327s | +|cmake(gen+make) | 1.203s+14.030s | +|cmake(gen+ninja) | 0.988s+11.644s | + ## Package management ### Download and build diff --git a/README_zh.md b/README_zh.md index e97b804ac..46d498014 100644 --- a/README_zh.md +++ b/README_zh.md @@ -128,6 +128,28 @@ $ xmake f --menu <img src="https://xmake.io/assets/img/index/menuconf.png" width="650px" /> +## 跟ninja一样快的构建速度 + +测试工程: [xmake-core](https://github.com/xmake-io/xmake/tree/master/core) + +### Termux/Android cpu/8core (-j12) + +| 构建系统 | 总耗时 | +|----- | ---- | +|xmake | 24.890s | +|ninja | 25.682s | +|cmake(gen+make) | 5.416s+28.473s | +|cmake(gen+ninja) | 4.458s+24.842s | + +### MacOS cpu/8core (-j12) + +| 构建系统 | 总耗时 | +|----- | ---- | +|xmake | 12.264s | +|ninja | 11.327s | +|cmake(gen+make) | 1.203s+14.030s | +|cmake(gen+ninja) | 0.988s+11.644s | + ## 包依赖管理 ### 下载和编译 |
