Skip to content

Commit

Permalink
temporary commit to check memory overhead
Browse files Browse the repository at this point in the history
temporary commit to check memory overhead.

Signed-off-by: Sudan Landge <sudanl@amazon.com>
  • Loading branch information
Sudan Landge committed Oct 27, 2023
1 parent 0ca2420 commit ed299cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration_tests/performance/test_memory_overhead.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ def test_memory_overhead(
metrics.set_dimensions(dimensions)
for key, value in mem_stats.items():
metrics.put_metric(key, value, unit="Bytes")
print(f"{key=}, {value=} Bytes")

mem_info = ps.memory_full_info()
for metric in ["uss", "text"]:
val = getattr(mem_info, metric)
metrics.put_metric(metric, val, unit="Bytes")
print(f"{key=}, {value=} Bytes")

0 comments on commit ed299cf

Please sign in to comment.