skia2/gn/bench.gni

134 lines
4.1 KiB
Plaintext
Raw Normal View History

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_bench = get_path_info("../bench", "abspath")
bench_sources = [
"$_bench/AAClipBench.cpp",
"$_bench/AlternatingColorPatternBench.cpp",
"$_bench/AndroidCodecBench.cpp",
"$_bench/BenchLogger.cpp",
"$_bench/Benchmark.cpp",
"$_bench/BezierBench.cpp",
"$_bench/BigPathBench.cpp",
"$_bench/BitmapBench.cpp",
"$_bench/BitmapRectBench.cpp",
"$_bench/BitmapRegionDecoderBench.cpp",
"$_bench/BlendmodeBench.cpp",
"$_bench/BlurBench.cpp",
"$_bench/BlurImageFilterBench.cpp",
"$_bench/BlurRectBench.cpp",
"$_bench/BlurRectsBench.cpp",
Reland "Add variety of bulk API benchmarks" This reverts commit 659b21d480d0405ff0b1adaa979ce67df8c29adc. Reason for revert: Fixed skipping nonrendering benchmark Original change's description: > Revert "Add variety of bulk API benchmarks" > > This reverts commit e63595dd8545ad9b3ee415df5a917ae0f0e65b08. > > Reason for revert: Breaking the Perf tests: > > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] > Command exited with code 139 > ####################################### > symbolized stacktrace follows > ####################################### > build/nanobench BulkRectBench<1000, (RectangleLayout)1, (ImageMode)2, (DrawMode)2>::onPerCanvasPreDraw(SkCanvas*) at skia/bench/BulkRectBench.cpp:218 > build/nanobench main at skia/bench/nanobench.cpp:1277 > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f1213dad2e1] > build/nanobench _start at ??:? > > > > > > Original change's description: > > Add variety of bulk API benchmarks > > > > Covers drawing 1000 anti-aliased rectangles, either sharing 1 image, using > > a unique image, or as a solid color. Tests using the bulk APIs and regular > > one-at-a-time drawing. > > > > Change-Id: Icdf5a1f6df229aed785212d0941b89c11aa785c0 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/251003 > > Commit-Queue: Michael Ludwig <michaelludwig@google.com> > > Reviewed-by: Robert Phillips <robertphillips@google.com> > > TBR=robertphillips@google.com,egdaniel@chromium.org,michaelludwig@google.com > > Change-Id: I3b26d5a04c472993585242a108c2764ea2b96940 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/251213 > Reviewed-by: Joe Gregorio <jcgregorio@google.com> > Commit-Queue: Joe Gregorio <jcgregorio@google.com> Change-Id: I83538faa29ada5ab1b02ff07ae9fe90734ed198e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/251238 Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2019-10-28 17:22:11 +00:00
"$_bench/BulkRectBench.cpp",
"$_bench/CTConvertBench.cpp",
"$_bench/ChartBench.cpp",
"$_bench/ChecksumBench.cpp",
"$_bench/ChromeBench.cpp",
"$_bench/ClearBench.cpp",
"$_bench/ClipMaskBench.cpp",
"$_bench/ClipStrategyBench.cpp",
"$_bench/CmapBench.cpp",
"$_bench/CodecBench.cpp",
"$_bench/ColorFilterBench.cpp",
"$_bench/ColorPrivBench.cpp",
"$_bench/CompositingImagesBench.cpp",
"$_bench/ControlBench.cpp",
"$_bench/CoverageBench.cpp",
"$_bench/CreateBackendTextureBench.cpp",
"$_bench/CubicKLMBench.cpp",
"$_bench/CubicMapBench.cpp",
"$_bench/DDLRecorderBench.cpp",
"$_bench/DashBench.cpp",
"$_bench/DisplacementBench.cpp",
"$_bench/DrawBitmapAABench.cpp",
"$_bench/EncodeBench.cpp",
"$_bench/FSRectBench.cpp",
"$_bench/FilteringBench.cpp",
"$_bench/FontCacheBench.cpp",
"$_bench/GMBench.cpp",
"$_bench/GameBench.cpp",
"$_bench/GeometryBench.cpp",
"$_bench/GlyphQuadFillBench.cpp",
"$_bench/GrMemoryPoolBench.cpp",
"$_bench/GrMipmapBench.cpp",
"$_bench/GrQuadBench.cpp",
"$_bench/GrResourceCacheBench.cpp",
"$_bench/GradientBench.cpp",
"$_bench/HairlinePathBench.cpp",
"$_bench/HardStopGradientBench_ScaleNumColors.cpp",
"$_bench/HardStopGradientBench_ScaleNumHardStops.cpp",
"$_bench/HardStopGradientBench_SpecialHardStops.cpp",
"$_bench/ImageBench.cpp",
"$_bench/ImageCacheBench.cpp",
"$_bench/ImageCacheBudgetBench.cpp",
"$_bench/ImageCycleBench.cpp",
"$_bench/ImageFilterCollapse.cpp",
"$_bench/ImageFilterDAGBench.cpp",
"$_bench/InterpBench.cpp",
"$_bench/JSONBench.cpp",
"$_bench/LightingBench.cpp",
"$_bench/LineBench.cpp",
"$_bench/MagnifierBench.cpp",
"$_bench/MathBench.cpp",
"$_bench/Matrix44Bench.cpp",
"$_bench/MatrixBench.cpp",
"$_bench/MatrixConvolutionBench.cpp",
"$_bench/MemsetBench.cpp",
"$_bench/MergeBench.cpp",
"$_bench/MipmapBench.cpp",
"$_bench/MorphologyBench.cpp",
"$_bench/MutexBench.cpp",
"$_bench/PDFBench.cpp",
"$_bench/PatchBench.cpp",
"$_bench/PathBench.cpp",
"$_bench/PathIterBench.cpp",
"$_bench/PathOpsBench.cpp",
"$_bench/PathTextBench.cpp",
"$_bench/PerlinNoiseBench.cpp",
"$_bench/PictureNestingBench.cpp",
"$_bench/PictureOverheadBench.cpp",
"$_bench/PicturePlaybackBench.cpp",
"$_bench/PolyUtilsBench.cpp",
"$_bench/PremulAndUnpremulAlphaOpsBench.cpp",
"$_bench/QuickRejectBench.cpp",
"$_bench/RTreeBench.cpp",
"$_bench/ReadPixBench.cpp",
"$_bench/RecordingBench.cpp",
"$_bench/RectBench.cpp",
"$_bench/RectanizerBench.cpp",
"$_bench/RefCntBench.cpp",
"$_bench/RegionBench.cpp",
"$_bench/RegionContainBench.cpp",
"$_bench/RepeatTileBench.cpp",
"$_bench/RotatedRectBench.cpp",
"$_bench/SKPAnimationBench.cpp",
"$_bench/SKPBench.cpp",
"$_bench/ScalarBench.cpp",
"$_bench/ShaderMaskFilterBench.cpp",
"$_bench/ShadowBench.cpp",
"$_bench/ShapesBench.cpp",
"$_bench/Sk4fBench.cpp",
"$_bench/SkGlyphCacheBench.cpp",
"$_bench/SkSLBench.cpp",
"$_bench/SkSLInterpreterBench.cpp",
"$_bench/SkVMBench.cpp",
"$_bench/SortBench.cpp",
"$_bench/StreamBench.cpp",
"$_bench/StrokeBench.cpp",
"$_bench/SwizzleBench.cpp",
"$_bench/TableBench.cpp",
"$_bench/TessellateBench.cpp",
"$_bench/TextBlobBench.cpp",
"$_bench/TileBench.cpp",
"$_bench/TileImageFilterBench.cpp",
"$_bench/TopoSortBench.cpp",
"$_bench/TypefaceBench.cpp",
"$_bench/VertBench.cpp",
"$_bench/VertexColorSpaceBench.cpp",
"$_bench/WritePixelsBench.cpp",
"$_bench/WriterBench.cpp",
]