From 50bd3943daab24e24d458c1335a820ef8074de52 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 18 Sep 2025 12:48:52 +0200 Subject: [PATCH] [ty] Faster iteration on mdtests (#20465) ## Summary This change reduces MD test compilation time from 6s to 3s on my laptop. We don't need to build the unit tests and the corpus tests when we're only interested in Markdown-based tests. ## Test Plan local benchmarks --- crates/ty_python_semantic/mdtest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ty_python_semantic/mdtest.py b/crates/ty_python_semantic/mdtest.py index e238c9ce89..c0795ed50c 100644 --- a/crates/ty_python_semantic/mdtest.py +++ b/crates/ty_python_semantic/mdtest.py @@ -46,6 +46,7 @@ class MDTestRunner: CRATE_NAME, "--no-run", "--color=always", + "--test=mdtest", "--message-format", message_format, ],