Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(843)

Issue 9790043: code review 9790043: runtime: inline MCache_Alloc() into mallocgc() (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by dvyukov
Modified:
12 years, 1 month ago
Reviewers:
khr
CC:
golang-dev, dave_cheney.net, khr
Visibility:
Public.

Description

runtime: inline MCache_Alloc() into mallocgc() benchmark old ns/op new ns/op delta BenchmarkMalloc8 68 62 -8.63% BenchmarkMalloc16 75 69 -7.94% BenchmarkMallocTypeInfo8 102 98 -3.73% BenchmarkMallocTypeInfo16 108 103 -4.63%

Patch Set 1 #

Patch Set 2 : diff -r ca166884c853 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r ca166884c853 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r ca166884c853 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r 776aba85ece8 https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -30 lines) Patch
M src/pkg/runtime/malloc.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/malloc.goc View 1 2 chunks +16 lines, -4 lines 0 comments Download
M src/pkg/runtime/mcache.c View 1 1 chunk +8 lines, -25 lines 0 comments Download

Messages

Total messages: 10
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
12 years, 1 month ago (2013-05-26 16:33:11 UTC) #1
dave_cheney.net
On 2013/05/26 16:33:11, dvyukov wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
12 years, 1 month ago (2013-05-26 23:57:33 UTC) #2
dvyukov
On Mon, May 27, 2013 at 3:57 AM, <dave@cheney.net> wrote: > On 2013/05/26 16:33:11, dvyukov ...
12 years, 1 month ago (2013-05-27 04:22:17 UTC) #3
dave_cheney.net
I'm just wondering if you have a figure for how large the overhead of the ...
12 years, 1 month ago (2013-05-27 04:30:50 UTC) #4
dvyukov
On Mon, May 27, 2013 at 8:30 AM, Dave Cheney <dave@cheney.net> wrote: > I'm just ...
12 years, 1 month ago (2013-05-27 06:34:52 UTC) #5
dave_cheney.net
Excellent. I think this change is good, but im not skilled enough to review it, ...
12 years, 1 month ago (2013-05-27 07:49:36 UTC) #6
dvyukov
This is only a part of series of malloc-related changes. On Mon, May 27, 2013 ...
12 years, 1 month ago (2013-05-27 08:07:35 UTC) #7
dave_cheney.net
linux/arm pandaboard benchmark old ns/op new ns/op delta BenchmarkMalloc8 485 462 -4.74% BenchmarkMalloc16 548 526 ...
12 years, 1 month ago (2013-05-27 11:30:30 UTC) #8
khr
LGTM
12 years, 1 month ago (2013-05-28 06:28:54 UTC) #9
dvyukov
12 years, 1 month ago (2013-05-28 07:06:05 UTC) #10
*** Submitted as https://code.google.com/p/go/source/detail?r=598c883c08b8 ***

runtime: inline MCache_Alloc() into mallocgc()
benchmark                    old ns/op    new ns/op    delta
BenchmarkMalloc8                    68           62   -8.63%
BenchmarkMalloc16                   75           69   -7.94%
BenchmarkMallocTypeInfo8           102           98   -3.73%
BenchmarkMallocTypeInfo16          108          103   -4.63%

R=golang-dev, dave, khr
CC=golang-dev
https://codereview.appspot.com/9790043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b