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

Issue 6454137: Add path benchmarks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by bsalomon
Modified:
12 years, 3 months ago
Reviewers:
reed1
CC:
skia-review_google.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : update #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -1 line) Patch
M bench/PathBench.cpp View 1 3 chunks +422 lines, -0 lines 2 comments Download
M bench/SkBenchmark.h View 2 chunks +14 lines, -1 line 0 comments Download
M bench/SkBenchmark.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M bench/benchmain.cpp View 2 chunks +14 lines, -0 lines 0 comments Download
M include/core/SkPath.h View 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 3
bsalomon
Adds a bunch of benchmarks around creating, transforming, testing path equality, and concatting paths. Also ...
12 years, 3 months ago (2012-08-10 20:18:40 UTC) #1
reed1
lgtm w/ question about naming and arrays http://codereview.appspot.com/6454137/diff/2001/bench/PathBench.cpp File bench/PathBench.cpp (right): http://codereview.appspot.com/6454137/diff/2001/bench/PathBench.cpp#newcode250 bench/PathBench.cpp:250: int pCnt; ...
12 years, 3 months ago (2012-08-13 13:21:11 UTC) #2
bsalomon
12 years, 3 months ago (2012-08-13 14:04:59 UTC) #3
Committed with both suggestions at r5054.

http://codereview.appspot.com/6454137/diff/2001/bench/PathBench.cpp
File bench/PathBench.cpp (right):

http://codereview.appspot.com/6454137/diff/2001/bench/PathBench.cpp#newcode250
bench/PathBench.cpp:250: int pCnt;
On 2012/08/13 13:21:11, reed1 wrote:
> use array for pCnt? at least its more concise to read...

Done.

http://codereview.appspot.com/6454137/diff/2001/include/core/SkPath.h
File include/core/SkPath.h (right):

http://codereview.appspot.com/6454137/diff/2001/include/core/SkPath.h#newcode868
include/core/SkPath.h:868: friend class SkAutoDisableOvalCheck;
On 2012/08/13 13:21:11, reed1 wrote:
> Should we have a more obnoxious name for these odd friendings? e.g.
> SkBench_AddPathTest?

Done.
Sign in to reply to this message.

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