-
同一个package,相同的参数,通过xrepo install 安装之后,再次用xrepo install 速度很慢,有没有办法优化第二次的速度? |
Beta Was this translation helpful? Give feedback.
Answered by
iGwkang
Dec 26, 2024
Replies: 1 comment 3 replies
-
这边还好,1s 左右。你可以走 ruki-2:tmp ruki$ time xrepo install zlib
real 0m1.864s
user 0m0.470s
sys 0m0.305s
ruki-2:tmp ruki$ time xrepo install zlib
real 0m1.837s
user 0m0.458s
sys 0m0.298s
ruki-2:tmp ruki$ XMAKE_PROFILE=perf:process xrepo install zlib
43.000, 34.40%, 1, /usr/bin/git rev-parse HEAD
29.000, 23.20%, 1, /usr/bin/git --version
11.000, 8.80%, 1, /usr/bin/tar --version
11.000, 8.80%, 1, which git
9.000, 7.20%, 1, which gzip
8.000, 6.40%, 1, which tar
8.000, 6.40%, 1, /usr/bin/gzip --version
6.000, 4.80%, 1, /usr/sbin/sysctl -n machdep.cpu.vendor machdep.cpu
.model machdep.cpu.family machdep.cpu.features machdep.cpu.brand_string
1468.000, 81.87%, 1, /Users/ruki/projects/personal/xmake/build/xmake
require -j 10 --extra={system=false} zlib
316.000, 17.62%, 1, /Users/ruki/projects/personal/xmake/build/xmake f
-c --require=n |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我知道什么原因了,这个是通过xrepo-cmake源码编译安装的,而且安装的路径是docker挂载的windows路径,不确定是不是文件系统的原因导致的,如果是linux上,通过docker挂载,xrepo-cmake源码编译安装xmake,就没有这个问题