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

Issue 8110044: code review 8110044: net/http: remove two more server allocations per-request (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by bradfitz
Modified:
11 years, 11 months ago
Reviewers:
CC:
golang-dev, gri
Visibility:
Public.

Description

net/http: remove two more server allocations per-request benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 11031 10689 -3.10% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 23 21 -8.70% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1668 1626 -2.52%

Patch Set 1 #

Patch Set 2 : diff -r 833bf2ef1527 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 833bf2ef1527 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r d2c7e1883818 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -4 lines) Patch
M src/pkg/net/http/server.go View 1 2 chunks +40 lines, -4 lines 0 comments Download

Messages

Total messages: 3
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 11 months ago (2013-03-28 19:54:28 UTC) #1
gri
LGTM
11 years, 11 months ago (2013-03-28 20:03:17 UTC) #2
bradfitz
11 years, 11 months ago (2013-03-28 20:07:16 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=a259257225e8 ***

net/http: remove two more server allocations per-request

benchmark                                   old ns/op    new ns/op    delta
BenchmarkServerFakeConnWithKeepAliveLite        11031        10689   -3.10%

benchmark                                  old allocs   new allocs    delta
BenchmarkServerFakeConnWithKeepAliveLite           23           21   -8.70%

benchmark                                   old bytes    new bytes    delta
BenchmarkServerFakeConnWithKeepAliveLite         1668         1626   -2.52%

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

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