Skip to content

Commit

Permalink
Remove perf counter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonsoGuevara committed Nov 30, 2024
1 parent 449d9d6 commit 22ce24c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions graphrag/index/flows/create_final_community_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ async def create_final_community_reports(
num_threads: int = 4,
) -> pd.DataFrame:
"""All the steps to transform community reports."""
start_time = time.perf_counter()
entities_df = entities.loc[:, ["id", "description"]]
nodes_df = nodes_input.merge(entities_df, on="id")
nodes = _prep_nodes(nodes_df)
Expand Down Expand Up @@ -95,10 +94,6 @@ async def create_final_community_reports(
how="left",
copy=False,
)

print(
f"Time taken to create final community reports: {time.perf_counter() - start_time}"
)
return merged.loc[
:,
[
Expand Down

0 comments on commit 22ce24c

Please sign in to comment.