Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1196)

Issue 12619004: Speed up tcmalloc by allowing more inlining. (Closed)

Created:
7 years, 9 months ago by gpike
Modified:
7 years, 9 months ago
CC:
chromium-reviews, dmikurube+memory_chromium.org, llozano, cmtice
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Speed up tcmalloc by allowing more inlining. Move some small functions in free_list.cc to free_list.h to improve the chance of intelligent inlining decisions. No functional changes. This is a performance tuning change. From the ChromeOS point of view, this is clearly a good change. I didn't try it on Windows, but I suspect it will help there too. In any case, it shouldn't hurt. Preliminary results for the BloatFile benchmark, for example, are around a 3.2% speedup (averaged across a few runs on different platforms). I am collecting more data now. BUG=111726 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188063

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -107 lines) Patch
M third_party/tcmalloc/chromium/src/free_list.h View 2 chunks +99 lines, -4 lines 4 comments Download
M third_party/tcmalloc/chromium/src/free_list.cc View 3 chunks +4 lines, -103 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jar (doing other things)
Nice! Do you have a profile or heat map that identified these functions? I'd be ...
7 years, 9 months ago (2013-03-14 00:05:09 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gpike@chromium.org/12619004/1
7 years, 9 months ago (2013-03-14 00:57:45 UTC) #2
gpike
Thanks! https://codereview.chromium.org/12619004/diff/1/third_party/tcmalloc/chromium/src/free_list.h File third_party/tcmalloc/chromium/src/free_list.h (right): https://codereview.chromium.org/12619004/diff/1/third_party/tcmalloc/chromium/src/free_list.h#newcode65 third_party/tcmalloc/chromium/src/free_list.h:65: if (v0 != v1) Log(kCrash, file, line, "Memory ...
7 years, 9 months ago (2013-03-14 00:58:37 UTC) #3
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 14:16:12 UTC) #4
Message was sent while issue was closed.
Change committed as 188063

Powered by Google App Engine
This is Rietveld 408576698