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

Issue 335833002: Start loading the BigQuery data and serving it to the UI. (Closed)

Created:
6 years, 6 months ago by jcgregorio
Modified:
6 years, 6 months ago
Reviewers:
kelvinly, mtklein, benchen
CC:
skia-review_googlegroups.com, benchen, tfarina
Base URL:
https://skia.googlesource.com/buildbot.git@master
Visibility:
Public.

Description

Start loading the BigQuery data and serving it to the UI. Many caveats: - Only loads traces for two skps, loading all of the skps takes two minutes. Loading and caching all the skps in the background will be done as a follow-on CL. - Doesn't load annotations from MySQL. - Only returns the full set of data in JSON, no ability to filter. - Data is restricted to just the last two days. All of those caveats will be addressed in follow-on CLs. But this code should be enough to start plumbing in FLOT. BUG=skia: Committed: https://skia.googlesource.com/buildbot/+/60f8e827685ece075cdfa589b937f7695f1ff4e7

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Total comments: 9

Patch Set 7 : y #

Total comments: 33

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+546 lines, -3 lines) Patch
A + LICENSE View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M perf/server/README.md View 1 chunk +1 line, -1 line 0 comments Download
A perf/server/data.go View 1 2 3 4 5 6 7 1 chunk +513 lines, -0 lines 0 comments Download
M perf/server/perf.go View 1 2 3 4 5 6 7 4 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
jcgregorio
6 years, 6 months ago (2014-06-13 18:52:43 UTC) #1
tfarina
https://codereview.chromium.org/335833002/diff/80001/perf/server/Makefile File perf/server/Makefile (right): https://codereview.chromium.org/335833002/diff/80001/perf/server/Makefile#newcode1 perf/server/Makefile:1: default: can you go with a ninja build file ...
6 years, 6 months ago (2014-06-13 18:59:38 UTC) #2
tfarina
https://codereview.chromium.org/335833002/diff/80001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/80001/perf/server/data.go#newcode1 perf/server/data.go:1: package main don't we put copyright boilerplate in go ...
6 years, 6 months ago (2014-06-13 19:01:04 UTC) #3
jcgregorio
https://codereview.chromium.org/335833002/diff/80001/perf/server/Makefile File perf/server/Makefile (right): https://codereview.chromium.org/335833002/diff/80001/perf/server/Makefile#newcode1 perf/server/Makefile:1: default: The Makefile was just a leftover, you can ...
6 years, 6 months ago (2014-06-13 19:30:34 UTC) #4
benchen
Thanks for putting these together! Just a few questions from me now. https://codereview.chromium.org/335833002/diff/80001/perf/server/data.go File perf/server/data.go ...
6 years, 6 months ago (2014-06-13 19:51:29 UTC) #5
jcgregorio
https://codereview.chromium.org/335833002/diff/80001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/80001/perf/server/data.go#newcode146 perf/server/data.go:146: func readCommitsFromGit(dir string) ([]GitHash, error) { Yeah, if we ...
6 years, 6 months ago (2014-06-13 19:54:01 UTC) #6
tfarina
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode1 perf/server/data.go:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 6 months ago (2014-06-13 20:12:57 UTC) #7
jcgregorio
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode1 perf/server/data.go:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 6 months ago (2014-06-13 20:22:25 UTC) #8
tfarina
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode1 perf/server/data.go:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 6 months ago (2014-06-13 20:55:47 UTC) #9
kelvinly
Very nice Go code! I've got a lot to learn from your style. Left a ...
6 years, 6 months ago (2014-06-14 00:57:32 UTC) #10
kelvinly
On 2014/06/14 00:57:32, kelvinly wrote: > Very nice Go code! I've got a lot to ...
6 years, 6 months ago (2014-06-14 00:58:27 UTC) #11
benchen
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode159 perf/server/data.go:159: func readCommitsFromGit(dir string) ([]GitHash, error) { The problem with ...
6 years, 6 months ago (2014-06-14 20:32:37 UTC) #12
kelvinly
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode159 perf/server/data.go:159: func readCommitsFromGit(dir string) ([]GitHash, error) { On 2014/06/14 20:32:37, ...
6 years, 6 months ago (2014-06-14 23:53:04 UTC) #13
jcgregorio
https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/100001/perf/server/data.go#newcode123 perf/server/data.go:123: COUNT(gitHash) AS c Leftover code, now removed. On 2014/06/14 ...
6 years, 6 months ago (2014-06-15 01:58:59 UTC) #14
mtklein
https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode26 perf/server/data.go:26: MISSING_DATA_SENTINEL = 1e100 Cute. Go has +Inf, -Inf, and ...
6 years, 6 months ago (2014-06-15 15:12:12 UTC) #15
kelvinly
https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode26 perf/server/data.go:26: MISSING_DATA_SENTINEL = 1e100 On 2014/06/15 15:12:10, mtklein wrote: > ...
6 years, 6 months ago (2014-06-15 15:49:27 UTC) #16
jcgregorio
https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode26 perf/server/data.go:26: MISSING_DATA_SENTINEL = 1e100 On 2014/06/15 15:49:26, kelvinly wrote: > ...
6 years, 6 months ago (2014-06-15 16:25:39 UTC) #17
jcgregorio
https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode26 perf/server/data.go:26: MISSING_DATA_SENTINEL = 1e100 Added a note explaining the requirements ...
6 years, 6 months ago (2014-06-16 02:46:25 UTC) #18
jcgregorio
https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go File perf/server/data.go (right): https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode411 perf/server/data.go:411: // TODO(jcgregorio) Keep a cache of the gzipped JSON ...
6 years, 6 months ago (2014-06-16 12:59:56 UTC) #19
mtklein
On 2014/06/16 12:59:56, jcgregorio wrote: > https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go > File perf/server/data.go (right): > > https://codereview.chromium.org/335833002/diff/120001/perf/server/data.go#newcode411 > ...
6 years, 6 months ago (2014-06-16 15:24:01 UTC) #20
jcgregorio
The CQ bit was checked by jcgregorio@google.com
6 years, 6 months ago (2014-06-16 15:25:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jcgregorio@google.com/335833002/140001
6 years, 6 months ago (2014-06-16 15:25:41 UTC) #22
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 15:25:48 UTC) #23
Message was sent while issue was closed.
Change committed as 60f8e827685ece075cdfa589b937f7695f1ff4e7

Powered by Google App Engine
This is Rietveld 408576698