diff --git a/vmprof/cli.py b/vmprof/cli.py index 0568bd28..086ab4d4 100644 --- a/vmprof/cli.py +++ b/vmprof/cli.py @@ -133,7 +133,7 @@ def get_option(self, name, type, default=None): def show(stats): p = stats.top_profile() if not p: - print("no stats") + print("No stats, profile is empty!\nDid you program run long enough (more than 1 second)?") return p.sort(key=lambda x: x[1], reverse=True)