mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![Zachary Anderson](/assets/img/avatar_default.png)
Statically linking in the tcmalloc code is enough to override the built-in malloc. I have this set up to exclude the code for collecting heap profiles in a Product build. There's still about a 230KB increase in binary size, though. I think this isn't a big problem since right now this is enabled only for server Linux. product binary size: before x64: 9569600 after x64: 9807840 increase: 238240 (2.5%) before ia32: 9122836 after ia32: 9360944 increase: 238108 (2.6%) before mips: 9418680 after mips: 9640940 increase: 222260 (2.4%) InitialRSS: product: before x64: 6307840 after x64: 7430144 increase: 1122304 (17.8%) release (--no-profiler) before x64: 7843840 after x64: 9207808 increase: 1363968 (17.4%) R=asiva@google.com, whesse@google.com Review URL: https://codereview.chromium.org/2316813002 .
4 lines
28 B
Plaintext
4 lines
28 B
Plaintext
*.mk
|
|
*.Makefile
|
|
/gperftools
|