XMake 生成的Debug工程编译链接 使用tcmalloc反而比不使用更慢 #4305
Answered
by
star-hengxing
mengxinxiaoqiang
asked this question in
Q&A
-
同样的代码 |
Beta Was this translation helpful? Give feedback.
Answered by
star-hengxing
Oct 20, 2023
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
没看出有何不同的,两个工程都不使用tcmalloc,跑测试代码也有很大差距,希望有大佬能解惑 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果确定编译命令一样,那应该和 xmake 无关。替换 malloc 库估计跟 crt 有关,而 vs 默认工程是
MD
,xmake 默认是MT