upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorsyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 12:27:30 +0100
committersyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 12:27:30 +0100
commit53604abbfcdab3a9203ddce7135ef88475788173 (patch)
tree5b501515ce6017a28a8c2a917b043f9079460145 /runtime/test/vk_queue_query_sync_test.cpp
parente654d10fdf77072a388017b1872a8c517104b608 (diff)
tests: the five tests that parse the translator source do it in pieces, 60 s -> 17 s (TEST-TRANSLATOR-PIECEWISE-PARSE)
A .pyc does not help ast.parse. test_runtime_paths.py, test_isa_coverage.py, test_shader_stage_resume.py, test_cmake_translator_deps.py and test_resource_hygiene.py read the syntax tree of tools/rdna2spirv.py, seven whole-file parses of 7 s each on CPython 3.12, 3.13.0 to 3.13.15 and 3.14.0 to 3.14.7. They now call tests/semantic/piecewise_parse.parse, which gives the same tree (tests/test_piecewise_parse.py) in about 1 s. tools/isa_coverage.py parses inside scan_translator and accepted_names; its test patches ast.parse around those two calls on the real translator instead of changing the tool. Python 3.14.7, valid .pyc of the translator, two runs each: test_runtime_paths 16.0 -> 3.7 s, test_isa_coverage 15.0 -> 2.5 s, test_shader_stage_resume 14.2 -> 8.2 s, test_cmake_translator_deps 7.6 -> 1.4 s, test_resource_hygiene 7.6 -> 1.3 s. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions