From 6729cf39170851adca800ab3b1439b501422819b Mon Sep 17 00:00:00 2001 From: Jan Fiedler Date: Fri, 25 Oct 2024 13:20:06 -0700 Subject: [PATCH] wip Signed-off-by: Jan Fiedler --- plugins/flytekit-memray/flytekitplugins/memray/profiling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/flytekit-memray/flytekitplugins/memray/profiling.py b/plugins/flytekit-memray/flytekitplugins/memray/profiling.py index 313e3de80e..4f133f0469 100644 --- a/plugins/flytekit-memray/flytekitplugins/memray/profiling.py +++ b/plugins/flytekit-memray/flytekitplugins/memray/profiling.py @@ -48,7 +48,7 @@ def generate_flytedeck_html(self, reporter, bin_filepath): "packed_data", "merge_threads", "memory_records", - "inverted", + # "inverted", "temporal", ] html_filepath = bin_filepath.replace( @@ -59,7 +59,7 @@ def generate_flytedeck_html(self, reporter, bin_filepath): html_content = file.read() for constant in html_reporter_constants: - html_content = html_content.replace(f"const {constant}", f"let {constant}") + html_content = html_content.replace(f"{constant}", f"{reporter}_{constant}") # with open("output.html", "w") as f: # f.write(html_content)