Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Fiedler <[email protected]>
  • Loading branch information
fiedlerNr9 committed Oct 29, 2024
1 parent 361695d commit 6729cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/flytekit-memray/flytekitplugins/memray/profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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)
Expand Down

0 comments on commit 6729cf3

Please sign in to comment.