Skip to content

Commit

Permalink
fix phasar
Browse files Browse the repository at this point in the history
  • Loading branch information
amordahl committed Dec 20, 2023
1 parent d8865eb commit 44d0318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sugarlyzer/analyses/Phasar.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def analyze(self, file: Path,
times = " ".join(ps.stderr.split('\n')[-30:])
try:
usr_time, sys_time, max_memory = parse_bash_time(times)
logger.info(f"CPU time to compile {file} to bytecode was {usr_time + sys_time}")
logger.info(f"CPU time to compile {file} was {usr_time + sys_time}s")
logger.info(f"Max memory to compile {file} was {max_memory}kb")
except Exception as ve:
logger.exception("Could not parse time in string " + times)

Expand Down

0 comments on commit 44d0318

Please sign in to comment.