From 839bf0ed1c94adbe14700269d2343979b4302dd6 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 15 Aug 2025 17:22:03 +0800 Subject: [PATCH] Update 98_profiler.py --- scripts/98_profiler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/98_profiler.py b/scripts/98_profiler.py index 91506f39..af7c1d4a 100644 --- a/scripts/98_profiler.py +++ b/scripts/98_profiler.py @@ -1,11 +1,11 @@ -from pkpy import * import time def costly_func(n: int): - time.sleep(n) + time.sleep(n) # 2s + time.sleep(1) # 1s x = 1 y = 2 -costly_func(2) +costly_func(2) # 3s -time.sleep(1) +time.sleep(1) # 1s