dawn-cmake/fuzzers
Ben Clayton ba1a8f8d05 optimization: BlockAllocator: Actually allocate in blocks
Instead of hitting the heap for each and every call to Create()

Significantly improves performance for heavy loads. Slight performance
loss for lighter loads.

A: base.bench
B: new.bench

Test name                             | Δ (A → B)    | % (A → B)
--------------------------------------+--------------+-----------
GenerateSPIRV/"simple_fragment.wgsl"  | 27.021µs     | +6.4%
GenerateMSL/"simple_compute.wgsl"     | 35.592µs     | +6.1%
GenerateMSL/"simple_vertex.wgsl"      | 37.64µs      | +5.5%
GenerateHLSL/"simple_fragment.wgsl"   | 42.145µs     | +5.2%
GenerateGLSL/"simple_fragment.wgsl"   | 31.506µs     | +4.9%
GenerateHLSL/"simple_vertex.wgsl"     | 38.843µs     | +4.7%
GenerateMSL/"simple_fragment.wgsl"    | 29.977µs     | +4.5%
GenerateSPIRV/"simple_vertex.wgsl"    | 19.882µs     | +4.2%
GenerateGLSL/"simple_vertex.wgsl"     | 24.702µs     | +3.7%
GenerateSPIRV/"simple_compute.wgsl"   | 17.652µs     | +3.2%
GenerateHLSL/"simple_compute.wgsl"    | 26.826µs     | +2.7%
GenerateGLSL/"simple_compute.wgsl"    | 11.952µs     | +1.8%
ParseWGSL/"particles.wgsl"            | -104.83µs    | -4.2%
GenerateMSL/"particles.wgsl"          | -1.079243ms  | -9.4%
GenerateSPIRV/"particles.wgsl"        | -1.012483ms  | -9.4%
GenerateGLSL/"particles.wgsl"         | -3.522106ms  | -9.5%
GenerateHLSL/"particles.wgsl"         | -1.849666ms  | -10.6%

Issue: tint:1383
Change-Id: Ib691328538c597c06a75dfba392c99d2afbd5442
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/76961
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-01-22 20:32:38 +00:00
..
tint_ast_fuzzer wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
tint_regex_fuzzer wgsl: Replace [[decoration]] with @decoration 2022-01-19 22:46:57 +00:00
tint_spirv_tools_fuzzer Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
BUILD.gn Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
CMakeLists.txt Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
cli.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
cli.h Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
data_builder.h Provide build override for SPIRV options 2022-01-18 15:37:56 +00:00
dictionary.txt Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
fuzzer_init.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
fuzzer_init.h Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
generate_spirv_corpus.py Tolerate some errors while building SPIR-V corpus 2021-09-17 14:32:20 +00:00
generate_wgsl_corpus.py Remove stray print in generate_wgsl_corpus.py 2021-07-20 11:14:50 +00:00
mersenne_twister_engine.cc Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
mersenne_twister_engine.h Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
random_generator.cc Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
random_generator.h Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
random_generator_engine.cc Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
random_generator_engine.h Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
random_generator_test.cc Add tests for fuzzers::RandomGenerator 2021-11-24 14:55:05 +00:00
tint_all_transforms_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_ast_clone_fuzzer.cc optimization: BlockAllocator: Actually allocate in blocks 2022-01-22 20:32:38 +00:00
tint_binding_remapper_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_black_box_fuzz_target.cc benchmarks: Add a basic set of benchmarks 2022-01-18 18:58:16 +00:00
tint_common_fuzzer.cc transform: Don't consider type-ctor/casts as having side-effects 2021-11-25 16:10:28 +00:00
tint_common_fuzzer.h Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
tint_first_index_offset_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_reader_writer_fuzzer.h Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_renamer_fuzzer.cc Convert fuzzer to use TransformBuilder 2021-10-05 14:51:28 +00:00
tint_robustness_fuzzer.cc Update remaining fuzzers to use TransforBuilder 2021-10-05 19:19:26 +00:00
tint_single_entry_point_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_spv_reader_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_spv_reader_hlsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_spv_reader_msl_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_spv_reader_spv_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_spv_reader_wgsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_vertex_pulling_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_wgsl_reader_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_wgsl_reader_hlsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_wgsl_reader_msl_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_wgsl_reader_spv_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_wgsl_reader_wgsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
transform_builder.h Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00