pyvider
2026-03-20
Memray Memory Profiling Infrastructure
35 files · 809+ · 81-
Memray Memory Profiling Infrastructure
33 files changed
pyproject.tomlUpdated pyproject.toml (+9/-2 lines)add_spdx_headers.pyUpdated add_spdx_headers.py (+13/-19 lines)__init__.pyUpdated __init__.py (+0/-0 lines)memray_analysis.pyAdded memray_analysis.py (+157 lines)memray_conversion_stress.pyAdded memray_conversion_stress.py (+69 lines)memray_hub_stress.pyAdded memray_hub_stress.py (+56 lines)memray_schema_stress.pyAdded memray_schema_stress.py (+65 lines)validate_spdx_headers.pyUpdated validate_spdx_headers.py (+4/-4 lines)availability.pyUpdated availability.py (+1/-1 lines)schema_adapter.pyUpdated schema_adapter.py (+37/-6 lines)decorators.pyUpdated decorators.py (+2/-1 lines)decorators.pyUpdated decorators.py (+1/-1 lines)adapters.pyUpdated adapters.py (+3/-1 lines)handler.pyUpdated handler.py (+1/-1 lines)components.pyUpdated components.py (+4/-4 lines)discovery.pyUpdated discovery.py (+1/-1 lines)validators.pyUpdated validators.py (+4/-2 lines)service.pyUpdated service.py (+6/-5 lines)function_adapter.pyUpdated function_adapter.py (+1/-1 lines)apply_resource_change.pyUpdated apply_resource_change.py (+3/-2 lines)call_function.pyUpdated call_function.py (+11/-4 lines)plan_resource_change.pyUpdated plan_resource_change.py (+5/-3 lines)utils.pyUpdated utils.py (+8/-5 lines)decorators.pyUpdated decorators.py (+1/-1 lines)test_availability.pyUpdated test_availability.py (+2/-2 lines)__init__.pyUpdated __init__.py (+0/-0 lines)baselines.jsonAdded baselines.json (+5 lines)conftest.pyAdded conftest.py (+8 lines)test_conversion_memory.pyAdded test_conversion_memory.py (+16 lines)test_hub_memory.pyAdded test_hub_memory.py (+16 lines)test_schema_memory.pyAdded test_schema_memory.py (+16 lines)uv.lockUpdated uv.lock (+246/-4 lines)wrknv.tomlAdded wrknv.toml (+6 lines)
- Added memray profiling setup to identify and measure memory usage in pyvider hot paths
streamline
internal
36 files
ci.yml.gitignoreVERSIONpyproject.tomladd_spdx_headers.py__init__.pymemray_analysis.pymemray_conversion_stress.pymemray_hub_stress.pymemray_schema_stress.pyvalidate_spdx_headers.pyavailability.pyschema_adapter.pydecorators.pydecorators.pyadapters.pyhandler.pycomponents.pydiscovery.pyvalidators.pyservice.pyfunction_adapter.pyapply_resource_change.pycall_function.pyplan_resource_change.pyutils.pydecorators.pytest_availability.py__init__.pybaselines.jsonconftest.pytest_conversion_memory.pytest_hub_memory.pytest_schema_memory.pyuv.lockwrknv.toml
- Excluded memray tests from default pytest run to keep the standard test suite fast
qualify
behavioral
36 files
ci.yml.gitignoreVERSIONpyproject.tomladd_spdx_headers.py__init__.pymemray_analysis.pymemray_conversion_stress.pymemray_hub_stress.pymemray_schema_stress.pyvalidate_spdx_headers.pyavailability.pyschema_adapter.pydecorators.pydecorators.pyadapters.pyhandler.pycomponents.pydiscovery.pyvalidators.pyservice.pyfunction_adapter.pyapply_resource_change.pycall_function.pyplan_resource_change.pyutils.pydecorators.pytest_availability.py__init__.pybaselines.jsonconftest.pytest_conversion_memory.pytest_hub_memory.pytest_schema_memory.pyuv.lockwrknv.toml
Logger Call Migrations and f-String Guards
36 files changed
ci.ymlChanges to ci.yml.gitignoreChanges to .gitignoreVERSIONChanges to VERSIONpyproject.tomlChanges to pyproject.tomladd_spdx_headers.pyChanges to add_spdx_headers.py__init__.pyChanges to __init__.pymemray_analysis.pyChanges to memray_analysis.pymemray_conversion_stress.pyChanges to memray_conversion_stress.pymemray_hub_stress.pyChanges to memray_hub_stress.pymemray_schema_stress.pyChanges to memray_schema_stress.pyvalidate_spdx_headers.pyChanges to validate_spdx_headers.pyavailability.pyChanges to availability.pyschema_adapter.pyChanges to schema_adapter.pydecorators.pyChanges to decorators.pydecorators.pyChanges to decorators.pyadapters.pyChanges to adapters.pyhandler.pyChanges to handler.pycomponents.pyChanges to components.pydiscovery.pyChanges to discovery.pyvalidators.pyChanges to validators.pyservice.pyChanges to service.pyfunction_adapter.pyChanges to function_adapter.pyapply_resource_change.pyChanges to apply_resource_change.pycall_function.pyChanges to call_function.pyplan_resource_change.pyChanges to plan_resource_change.pyutils.pyChanges to utils.pydecorators.pyChanges to decorators.pytest_availability.pyChanges to test_availability.py__init__.pyChanges to __init__.pybaselines.jsonChanges to baselines.jsonconftest.pyChanges to conftest.pytest_conversion_memory.pyChanges to test_conversion_memory.pytest_hub_memory.pyChanges to test_hub_memory.pytest_schema_memory.pyChanges to test_schema_memory.pyuv.lockChanges to uv.lockwrknv.tomlChanges to wrknv.toml
- Replaced f-string logger calls with kwargs-style logging (e.g.,
logger.debug("msg %s", val)instead oflogger.debug(f"msg {val}")) decouple errata36 files
ci.yml.gitignoreVERSIONpyproject.tomladd_spdx_headers.py__init__.pymemray_analysis.pymemray_conversion_stress.pymemray_hub_stress.pymemray_schema_stress.pyvalidate_spdx_headers.pyavailability.pyschema_adapter.pydecorators.pydecorators.pyadapters.pyhandler.pycomponents.pydiscovery.pyvalidators.pyservice.pyfunction_adapter.pyapply_resource_change.pycall_function.pyplan_resource_change.pyutils.pydecorators.pytest_availability.py__init__.pybaselines.jsonconftest.pytest_conversion_memory.pytest_hub_memory.pytest_schema_memory.pyuv.lockwrknv.toml
- Guarded f-string debug log calls with
is_debug_enabled()checks as an additional optimization streamline behavioral36 files
ci.yml.gitignoreVERSIONpyproject.tomladd_spdx_headers.py__init__.pymemray_analysis.pymemray_conversion_stress.pymemray_hub_stress.pymemray_schema_stress.pyvalidate_spdx_headers.pyavailability.pyschema_adapter.pydecorators.pydecorators.pyadapters.pyhandler.pycomponents.pydiscovery.pyvalidators.pyservice.pyfunction_adapter.pyapply_resource_change.pycall_function.pyplan_resource_change.pyutils.pydecorators.pytest_availability.py__init__.pybaselines.jsonconftest.pytest_conversion_memory.pytest_hub_memory.pytest_schema_memory.pyuv.lockwrknv.toml
CI Modernization
2 files changed
.gitignoreAdded .gitignore (+5 lines)ci.ymlUpdated ci.yml (+27/-11 lines)
Type and Lint
36 files changed
ci.ymlChanges to ci.yml.gitignoreChanges to .gitignoreVERSIONChanges to VERSIONpyproject.tomlChanges to pyproject.tomladd_spdx_headers.pyChanges to add_spdx_headers.py__init__.pyChanges to __init__.pymemray_analysis.pyChanges to memray_analysis.pymemray_conversion_stress.pyChanges to memray_conversion_stress.pymemray_hub_stress.pyChanges to memray_hub_stress.pymemray_schema_stress.pyChanges to memray_schema_stress.pyvalidate_spdx_headers.pyChanges to validate_spdx_headers.pyavailability.pyChanges to availability.pyschema_adapter.pyChanges to schema_adapter.pydecorators.pyChanges to decorators.pydecorators.pyChanges to decorators.pyadapters.pyChanges to adapters.pyhandler.pyChanges to handler.pycomponents.pyChanges to components.pydiscovery.pyChanges to discovery.pyvalidators.pyChanges to validators.pyservice.pyChanges to service.pyfunction_adapter.pyChanges to function_adapter.pyapply_resource_change.pyChanges to apply_resource_change.pycall_function.pyChanges to call_function.pyplan_resource_change.pyChanges to plan_resource_change.pyutils.pyChanges to utils.pydecorators.pyChanges to decorators.pytest_availability.pyChanges to test_availability.py__init__.pyChanges to __init__.pybaselines.jsonChanges to baselines.jsonconftest.pyChanges to conftest.pytest_conversion_memory.pyChanges to test_conversion_memory.pytest_hub_memory.pyChanges to test_hub_memory.pytest_schema_memory.pyChanges to test_schema_memory.pyuv.lockChanges to uv.lockwrknv.tomlChanges to wrknv.toml
- Fixed mypy type error in
schema_adapternesting mode map specify internal36 files
ci.yml.gitignoreVERSIONpyproject.tomladd_spdx_headers.py__init__.pymemray_analysis.pymemray_conversion_stress.pymemray_hub_stress.pymemray_schema_stress.pyvalidate_spdx_headers.pyavailability.pyschema_adapter.pydecorators.pydecorators.pyadapters.pyhandler.pycomponents.pydiscovery.pyvalidators.pyservice.pyfunction_adapter.pyapply_resource_change.pycall_function.pyplan_resource_change.pyutils.pydecorators.pytest_availability.py__init__.pybaselines.jsonconftest.pytest_conversion_memory.pytest_hub_memory.pytest_schema_memory.pyuv.lockwrknv.toml
- Fixed lint and formatting issues for CI compliance
remediate
errata
1 file
VERSION