pyvider-rpcplugin
2026-03-20
Memray Memory Profiling Infrastructure
30 files · 1,238+ · 130-
Memray Memory Profiling Infrastructure
15 files changed
__init__.pyModifiedmemray_analysis.pyNew file (157 lines)memray_config_stress.pyNew file (58 lines)memray_handshake_stress.pyNew file (86 lines)memray_protocol_stress.pyNew file (64 lines)memray_rate_limiter_stress.pyNew file (72 lines)memray_transport_stress.pyNew file (50 lines)handshake.pyUpdated (6 insertions, 2 deletions)process.pyUpdated (4 insertions, 3 deletions)core.pyUpdated (36 insertions, 25 deletions)core.pyUpdated (10 insertions, 1 deletions)tcp.pyUpdated (18 insertions, 8 deletions)transport.pyUpdated (27 insertions, 15 deletions)types.pyUpdated (38 insertions, 47 deletions)__init__.pyUpdated test (0 insertions, 0 deletions)
- Added memray profiling setup for pyvider-rpcplugin hot paths
streamline
internal
5 files
__init__.pymemray_analysis.pymemray_config_stress.pymemray_handshake_stress.pymemray_protocol_stress.py
- Identifies memory allocation patterns in the Terraform plugin RPC layer
interface
internal
5 files
__init__.pymemray_analysis.pymemray_config_stress.pymemray_handshake_stress.pymemray_protocol_stress.py
Guard f-String Debug Calls
15 files changed
.gitignoreNew file (3 lines)AGENTS.mdAdded documentation (220 lines)pyproject.tomlUpdated (13 insertions, 1 deletions)test_types_connection_client.pyUpdated test (32 insertions, 26 deletions)test_handshake_responses.pySimplified test (1 insertions, 2 deletions)baselines.jsonAdded test code (7 lines)conftest.pyAdded test code (8 lines)test_config_memory.pyAdded test code (16 lines)test_handshake_memory.pyAdded test code (16 lines)test_protocol_memory.pyAdded test code (16 lines)test_rate_limiter_memory.pyAdded test code (16 lines)test_transport_memory.pyAdded test code (16 lines)test_server_health_check.pyAdded test code (2 lines)uv.lockNew file (240 lines)wrknv.tomlNew file (6 lines)
- Wrapped
debug()log calls withis_debug_enabled()guards to prevent f-string evaluation overhead when debug logging is inactive streamline behavioral5 files
.gitignoreAGENTS.mdpyproject.tomltest_types_connection_client.pytest_handshake_responses.py