Denis I.
01/04/2024, 10:31 AM@property
to @cached_property
and it shows a significant improvement on overall execution time for my multiple jobs: for a tap with a low self execution time (it just checks a replication slot for new data on an idle db) I see 5x execution time improvement.Denis I.
01/04/2024, 10:31 AM@property
21.16s user 0.47s system 96% cpu 22.457 total
22.10s user 0.51s system 95% cpu 23.714 total
21.99s user 0.50s system 96% cpu 23.402 total
avg 23.191 total
@cached_property
3.12s user 0.31s system 77% cpu 4.436 total
3.00s user 0.29s system 76% cpu 4.281 total
3.10s user 0.30s system 75% cpu 4.523 total
avg 4.413 totalDenis I.
01/04/2024, 3:53 PMFAILED tests/meltano/core/plugin/test_plugin_settings.py::TestPluginSettingsService::test_store_dotenv - AssertionError: assert (None, <Setti...T: 'default'>) == (False, <Sett...NV: 'dotenv'>)
FAILED tests/meltano/core/tracking/test_tracker.py::TestTracker::test_timeout_if_endpoint_unavailable[no_timeout] - assert True is False
FAILED tests/meltano/core/plugin/test_plugin_settings.py::TestPluginSettingsService::test_namespace_as_env_prefix - AssertionError: assert 'name_prefix' == 'namespace_prefix'
FAILED tests/meltano/core/plugin/test_plugin_settings.py::TestPluginSettingsService::test_date_values - AssertionError: assert 'THIS_IS_FROM_DOTENV' == '2024-01-04'
FAILED tests/meltano/core/plugin/test_plugin_settings.py::TestPluginSettingsService::test_as_env - AssertionError: assert 'THIS_IS_FROM_DOTENV' == 'mock'
FAILED tests/meltano/core/plugin/test_plugin_settings.py::TestPluginSettingsService::test_env_var_expansion - AssertionError: assert ' ' == 'rock paper scissors'
Edgar Ramírez (Arch.dev)
01/04/2024, 4:34 PMDenis I.
01/04/2024, 7:08 PMEdgar Ramírez (Arch.dev)
01/05/2024, 4:28 AMDenis I.
01/05/2024, 11:13 AM