Page MenuHomeElementl

show 10 slowest core tests

Authored by alangenfeld on Jun 1 2021, 4:58 PM.
Referenced Files
Unknown Object (File)
Thu, Jun 1, 6:35 AM
Unknown Object (File)
Sun, May 14, 9:22 PM
Unknown Object (File)
Apr 8 2023, 6:00 PM
Unknown Object (File)
Apr 6 2023, 3:42 AM
Unknown Object (File)
Mar 25 2023, 4:31 AM
Unknown Object (File)
Mar 22 2023, 3:38 PM
Unknown Object (File)
Feb 21 2023, 12:12 AM
Unknown Object (File)
Feb 12 2023, 10:05 PM



the dagster core tests are hitting 18m need to figure out which ones are worst

Test Plan


Diff Detail

R1 dagster
Lint Not Applicable
Tests Not Applicable

Event Timeline

This is great! One of the things on my backlog that I want to get to once I find time is to save off metadata about our builds and make them in Mode or somewhere so we can query over time on which tests are slowest and which are flakiest. That way we can effectively prioritize keeping builds fast and green. But until something like that, I think this is a really good first step.

This revision is now accepted and ready to land.Jun 1 2021, 5:28 PM

We should also pass in -n since we're using pytest-xdist looks like we're only using this in dagit tests right now

We tried -n in the past and it seemed to cause additional flakiness unfortunately :(

39.04s call     dagster_tests/core_tests/dynamic_tests/[run_config1]
34.48s call     dagster_tests/core_tests/dynamic_tests/[run_config1]
32.89s call     dagster_tests/core_tests/host_representation_tests/
26.33s call     dagster_tests/core_tests/dynamic_tests/[run_config1]
22.87s call     dagster_tests/core_tests/dynamic_tests/[run_config1]
14.51s call     dagster_tests/core_tests/launcher_tests/[run_config1-get_external_pipeline_from_managed_grpc_python_env_repository]
13.97s call     dagster_tests/core_tests/launcher_tests/[run_config1-get_external_pipeline_from_grpc_server_repository]
13.27s call     dagster_tests/core_tests/engine_tests/
12.40s call     dagster_tests/core_tests/execution_plan_tests/
11.78s call     dagster_tests/core_tests/execution_tests/[environment1]
This revision was automatically updated to reflect the committed changes.