dawn-cmake/fuzzers
Ben Clayton b29396e472 fuzzers: Don't pointlessly format diagnostics
Fuzzers like to generate silly long source, and formatting large spans of these can take considerable time.
Only format the diagnostic if it is going to be displayed.

Significantly speeds up some fuzzing tests, fixing some timeouts.

Also add a minor optimization to the formatter repeat() implementation.

Fixed: chromium:1230313
Change-Id: Ib1f6ac0b31010f86cb7f4e1432dc703ecbe52cb0
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58841
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2021-07-20 14:39:50 +00:00
..
tint_ast_fuzzer fuzzers: Don't pointlessly format diagnostics 2021-07-20 14:39:50 +00:00
tint_spirv_tools_fuzzer Add gn build support for spirv-tools + AST fuzzers 2021-07-16 20:56:55 +00:00
BUILD.gn Add gn build support for spirv-tools + AST fuzzers 2021-07-16 20:56:55 +00:00
CMakeLists.txt Implement AST fuzzer 2021-07-13 12:01:25 +00:00
dictionary.txt [wgsl-reader] Disallow explicit storage classes on handle types 2021-03-22 15:49:16 +00:00
generate_spirv_corpus.py Add explanatory comment to fuzzer build files 2021-07-14 13:04:31 +00:00
generate_wgsl_corpus.py Remove stray print in generate_wgsl_corpus.py 2021-07-20 11:14:50 +00:00
tint_all_transforms_fuzzer.cc fuzzers: Switch fuzzers to new generator API 2021-07-12 21:07:41 +00:00
tint_ast_clone_fuzzer.cc fuzzers: Switch fuzzers to new generator API 2021-07-12 21:07:41 +00:00
tint_binding_remapper_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_common_fuzzer.cc fuzzers: Don't pointlessly format diagnostics 2021-07-20 14:39:50 +00:00
tint_common_fuzzer.h fuzzers: Don't pointlessly format diagnostics 2021-07-20 14:39:50 +00:00
tint_first_index_offset_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_inspector_fuzzer.cc Add in Inspector Fuzzer implementation file 2021-01-13 20:15:32 +00:00
tint_renamer_fuzzer.cc Add fuzzing for transform::Renamer 2021-04-29 20:43:45 +00:00
tint_robustness_fuzzer.cc transform: Rename BoundArrayAccessors to Robustness 2021-06-30 13:23:36 +00:00
tint_single_entry_point_fuzzer.cc Add fuzzing for transform::VertexPulling 2021-05-06 15:43:33 +00:00
tint_spv_reader_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_hlsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_msl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_spv_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_spv_reader_wgsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_vertex_pulling_fuzzer.cc Remove fuzzing for transform::EmitVertPointSize 2021-05-07 15:48:04 +00:00
tint_wgsl_reader_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_hlsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_msl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_spv_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00
tint_wgsl_reader_wgsl_writer_fuzzer.cc Re-land fuzzing work with fix 2021-01-12 16:23:48 +00:00