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

Issue 379563005: rebaseline_server: cache results in long-running ImageDiffDB instance (Closed)

Created:
6 years, 5 months ago by epoger
Modified:
6 years, 5 months ago
Reviewers:
rmistry
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

rebaseline_server: cache results in long-running ImageDiffDB instance Rather than rebuilding the ImageDiffDB from scratch every time we update expected/actual results, keep the same ImageDiffDB instance around and add image pairs to it. This makes updating results within a long-running server.py *much* faster, and tests out an idea I'm ruminating in https://goto.google.com/LongRunningImageDiffDBServer : we could run an ImageDiffDB server that developers could connect to from their locally running rebaseline_server instances, for much faster launch times. BUG=skia:2414 NOTRY=True Committed: https://skia.googlesource.com/skia/+/6132b436d8723beaf06d1a8a0880f4f1535908a0

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : Ravi comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -15 lines) Patch
M gm/rebaseline_server/compare_to_expectations.py View 1 2 2 chunks +8 lines, -9 lines 0 comments Download
M gm/rebaseline_server/compare_to_expectations_test.py View 2 chunks +3 lines, -2 lines 0 comments Download
M gm/rebaseline_server/imagediffdb.py View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M gm/rebaseline_server/server.py View 3 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
epoger
Ready for review at patchset 1.
6 years, 5 months ago (2014-07-08 21:12:30 UTC) #1
rmistry
LGTM https://codereview.chromium.org/379563005/diff/1/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/379563005/diff/1/gm/rebaseline_server/imagediffdb.py#newcode224 gm/rebaseline_server/imagediffdb.py:224: def get_storage_root(self): [Optional] Can also do: @property def ...
6 years, 5 months ago (2014-07-09 13:14:04 UTC) #2
epoger
Thanks. Committing now. https://codereview.chromium.org/379563005/diff/1/gm/rebaseline_server/imagediffdb.py File gm/rebaseline_server/imagediffdb.py (right): https://codereview.chromium.org/379563005/diff/1/gm/rebaseline_server/imagediffdb.py#newcode224 gm/rebaseline_server/imagediffdb.py:224: def get_storage_root(self): On 2014/07/09 13:14:04, rmistry ...
6 years, 5 months ago (2014-07-09 14:57:36 UTC) #3
epoger
The CQ bit was checked by epoger@google.com
6 years, 5 months ago (2014-07-09 14:58:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/379563005/40001
6 years, 5 months ago (2014-07-09 14:59:01 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 14:59:10 UTC) #6
Message was sent while issue was closed.
Change committed as 6132b436d8723beaf06d1a8a0880f4f1535908a0

Powered by Google App Engine
This is Rietveld 408576698