pyvider-hcl
2026-03-20
Added memray memory profiling infrastructure for HCL hot paths
14 files · 561+
Memray profiling scripts
5 files changed
__init__.pyPackage init for memray scriptsmemray_analysis.pyPost-run analysis utilities for memray binaries -- stats parsing, flamegraph generation, report output (155 lines)memray_pretty_print_stress.pyStress test for pretty_print_cty memory usage (75 lines)memray_resource_factory_stress.pyStress test for resource factory memory usage (72 lines)memray_type_parsing_stress.pyStress test for type parsing memory usage (42 lines)
- Added
scripts/memray/memray_analysis.pywith stats parsing, flamegraph HTML generation, and analysis report output qualify behavioral1 file
memray_analysis.py
- Added stress test scripts for pretty_print, resource_factory, and type_parsing hot paths
qualify
internal
3 files
memray_pretty_print_stress.pymemray_resource_factory_stress.pymemray_type_parsing_stress.py
Memray pytest tests with baseline tracking
6 files changed
__init__.pyPackage init for memray testsbaselines.jsonBaseline allocation counts for regression trackingconftest.pyFixtures for memray profiling -- output dir, baseline loading, threshold assertions (166 lines)test_pretty_print_memory.pyMemory test for pretty print operationstest_resource_factory_memory.pyMemory test for resource factory operationstest_type_parsing_memory.pyMemory test for type parsing operations
- Added
tests/memray/conftest.pywith fixtures for memray output, baseline loading, and allocation threshold assertions qualify behavioral1 file
conftest.py
- Added memory tests for pretty_print, resource_factory, and type_parsing with baseline regression tracking
qualify
internal
3 files
test_pretty_print_memory.pytest_resource_factory_memory.pytest_type_parsing_memory.py
Configuration updates for memray integration
3 files changed
.gitignoreAdded memray-output/ to gitignorepyproject.tomlAdded memray pytest markerwrknv.tomlAdded memray task configuration