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

Issue 313393003: Changes to improve the performance of reading a snapshot. (Closed)

Created:
6 years, 6 months ago by zra
Modified:
6 years, 6 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Changes to improve the performance of reading a snapshot. There are two changes: 1. The decoding loop in ReadStream is unrolled. 2. Small reorganizaiton of PageSpace::TryAllocate to avoid copying SpaceUsuage structs around. These changes improve performance of CorelibIsolateStartup ~10-12% on ia32. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37141

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -6 lines) Patch
M runtime/vm/datastream.h View 6 chunks +172 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zra
6 years, 6 months ago (2014-06-09 17:40:39 UTC) #1
Ivan Posva
We should split this CL into pieces. The reader part LGTM. -Ivan https://codereview.chromium.org/313393003/diff/20001/runtime/vm/snapshot.h File runtime/vm/snapshot.h ...
6 years, 6 months ago (2014-06-09 20:48:20 UTC) #2
zra
Reduced change to the loop unrolling in the Reader. https://codereview.chromium.org/313393003/diff/20001/runtime/vm/snapshot.h File runtime/vm/snapshot.h (right): https://codereview.chromium.org/313393003/diff/20001/runtime/vm/snapshot.h#newcode179 runtime/vm/snapshot.h:179: ...
6 years, 6 months ago (2014-06-09 22:02:43 UTC) #3
zra
6 years, 6 months ago (2014-06-09 22:16:09 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r37141 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698