mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
44a04f18f9
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 .
16 lines
311 B
Text
16 lines
311 B
Text
# ignore everything
|
|
*
|
|
# except for items in the pkg directory and self.
|
|
# except for our files in boringssl. The checkout is in boringssl/src.
|
|
!.gitignore
|
|
!pkg
|
|
!pkg_tested
|
|
!/boringssl
|
|
!/tcmalloc
|
|
!drt_resources
|
|
!d8
|
|
!7zip.tar.gz.sha1
|
|
!firefox_jsshell
|
|
!gsutil.tar.gz.sha1
|
|
!clang.tar.gz.sha1
|
|
!unittest.tar.gz.sha1
|