From 81ad53ff4eb49e0f14acae9ddc4e8468d979f087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 30 Dec 2018 13:06:44 +0100 Subject: [PATCH] Profile --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76cbefe..2091e86 100644 --- a/README.md +++ b/README.md @@ -1420,7 +1420,7 @@ with PyCallGraph(output=graph): ``` ### Profiling Decorators -#### Prints runtime of decorated function: +#### Prints runtime of a decorated function: ```python from timeit import default_timer from datetime import timedelta @@ -1435,7 +1435,7 @@ def time_me(func): return out ``` -#### Saves run call profile of the decorated function to file: +#### Saves run call profile of a decorated function to file: ```python from cProfile import Profile from pstats import Stats