Skip to content
Open

25 #14

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion perfbench/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def compute():
typer.echo("Computing performance metrics...")

# Simulate long-running computation
time.sleep(30)
time.sleep(5)

# Generate dummy performance value
performance_value = 20
Expand All @@ -35,6 +35,8 @@ def compute():
except Exception:
pass

performance_value = 25

result = {
"performance": performance_value,
"timestamp": time.time(),
Expand Down