koxudaxi
datamodel-code-generator
BlogDocsChangelog

fix(format): use communicate rathan than .stdin.write

#2966Closed
Comparing
prousso:fix/pipe-buffer-deadlock
(
bba42bb
) with
main
(
8c60b1b
)
CodSpeed Performance Gauge
+1%
Untouched
11
Skipped
98

Benchmarks

Skipped (98)

Passed

test_perf_kubernetes_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
2.6 s2.6 s
test_perf_stripe_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
2 s1.9 s
test_perf_all_options_enabled
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
6.7 s6.6 s
test_perf_complex_refs
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
2 s2 s
test_perf_graphql_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
821.1 ms814.7 ms
test_perf_duplicate_names
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
998.5 ms991.2 ms
test_perf_openapi_large
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2.9 s2.9 s
test_perf_aws_style_openapi_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
1.9 s1.9 s
test_perf_large_models_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
3.6 s3.7 s
test_perf_deep_nested
tests/main/test_performance.py
CodSpeed Performance Gauge
-1%
5.9 s6 s
test_perf_multiple_files_input
tests/main/test_performance.py
CodSpeed Performance Gauge
-1%
3.7 s3.7 s

Commits

Click on a commit to change the comparison range
Base
main
8c60b1b
+0.58%
fix(format): use communicate rathan than .stdin.write to avoid dealocks due to any of the other OS pipe buffers filling up and blocking the child process
bba42bb
1 day ago
by prousso
© 2026 CodSpeed Technology
Home Terms Privacy Docs