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

Side by Side Diff: bench/MemcpyBench.cpp

Issue 292203009: Disable bench that's crashing on ChromeOS/Alex perf bot. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkBenchmark.h" 8 #include "SkBenchmark.h"
9 #include "SkRandom.h" 9 #include "SkRandom.h"
10 #include "SkTemplates.h" 10 #include "SkTemplates.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 count -= 16; 136 count -= 16;
137 } 137 }
138 138
139 dst = reinterpret_cast<uint32_t*>(dst128); 139 dst = reinterpret_cast<uint32_t*>(dst128);
140 src = reinterpret_cast<const uint32_t*>(src128); 140 src = reinterpret_cast<const uint32_t*>(src128);
141 while (count --> 0) { 141 while (count --> 0) {
142 *dst++ = *src++; 142 *dst++ = *src++;
143 } 143 }
144 } 144 }
145 BENCH(memcpy32_sse2_unalign, 10) 145 // skia:2589: Crashing on ChromeOS Alex bot. TODO(mtklein): why?
146 //BENCH(memcpy32_sse2_unalign, 10)
146 BENCH(memcpy32_sse2_unalign, 100) 147 BENCH(memcpy32_sse2_unalign, 100)
147 BENCH(memcpy32_sse2_unalign, 1000) 148 BENCH(memcpy32_sse2_unalign, 1000)
148 BENCH(memcpy32_sse2_unalign, 10000) 149 BENCH(memcpy32_sse2_unalign, 10000)
149 BENCH(memcpy32_sse2_unalign, 100000) 150 BENCH(memcpy32_sse2_unalign, 100000)
150 151
151 #endif // SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 152 #endif // SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
152 153
153 #undef BENCH 154 #undef BENCH
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698