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

Issue 68920046: code review 68920046: go-tour: serve all javascript in a concatenated file (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by francesc
Modified:
10 years, 2 months ago
Reviewers:
adg
CC:
adg, golang-codereviews
Visibility:
Public.

Description

go-tour: serve all javascript in a concatenated file Load time went down to 539ms from 1.90s!

Patch Set 1 #

Patch Set 2 : diff -r 1ad78fbb7ab4 https://code.google.com/p/go-tour #

Patch Set 3 : diff -r 1ad78fbb7ab4 https://code.google.com/p/go-tour #

Patch Set 4 : diff -r 1ad78fbb7ab4 https://code.google.com/p/go-tour #

Patch Set 5 : diff -r 1ad78fbb7ab4 https://code.google.com/p/go-tour #

Patch Set 6 : diff -r d088440afaf2 https://code.google.com/p/go-tour #

Patch Set 7 : diff -r d088440afaf2 https://code.google.com/p/go-tour #

Patch Set 8 : diff -r d088440afaf2 https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -22 lines) Patch
M app.yaml View 1 2 6 1 chunk +1 line, -0 lines 0 comments Download
M gotour/tour.go View 1 2 3 4 3 chunks +40 lines, -4 lines 0 comments Download
M template/index.tmpl View 1 2 3 4 5 3 chunks +0 lines, -18 lines 0 comments Download

Messages

Total messages: 5
francesc
Hello adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go-tour
10 years, 2 months ago (2014-02-27 00:01:08 UTC) #1
adg
You don't close the files when reading them. Use ioutil.ReadFile instead, in the loop. On ...
10 years, 2 months ago (2014-02-27 00:05:33 UTC) #2
francesc
oops, done On Wed, Feb 26, 2014 at 4:05 PM, Andrew Gerrand <adg@golang.org> wrote: > ...
10 years, 2 months ago (2014-02-27 00:16:37 UTC) #3
adg
LGTM
10 years, 2 months ago (2014-02-27 01:00:04 UTC) #4
francesc
10 years, 2 months ago (2014-02-27 01:18:48 UTC) #5
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=b65851ce9f0a
***

go-tour: serve all javascript in a concatenated file

Load time went down to 539ms from 1.90s!

LGTM=adg
R=adg
CC=golang-codereviews
https://codereview.appspot.com/68920046
Sign in to reply to this message.

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