summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-23 23:04:15 +0800
committerruki <[email protected]>2020-03-23 12:25:35 +0800
commit867b2b5ec8918d93562a3e4201bee85a0d10e3e0 (patch)
tree5827e30c87964cff517887f0bc7461f1109d078b
parent64440dcfd77af7b146a78faa8e3c77f64dc9835a (diff)
update readme
-rw-r--r--README.md22
-rw-r--r--README_zh.md22
2 files changed, 44 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a90072a8..c23dd2b72 100644
--- a/README.md
+++ b/README.md
@@ -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 |
+
## 包依赖管理
### 下载和编译