From ab899b45e4519bab5e0178f5a86fa7745dac5ead Mon Sep 17 00:00:00 2001 From: chronoblade Date: Thu, 25 Sep 2025 12:07:08 +0200 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=83=D0=BC=D0=BD=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BD=D0=B0=201000=20=D0=B4=D0=BB=D1=8F=20=D1=84=D1=83?= =?UTF-8?q?=D0=BD=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_time_func.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_time_func.py b/test_time_func.py index 002f5f3..5f4f6c5 100644 --- a/test_time_func.py +++ b/test_time_func.py @@ -12,7 +12,7 @@ while True: for _ in range(REPET[REPET_INDEX]): # указание радиуса arr.append(5) stop = time() - print("appd: ", (stop - start) * 1000) + print("appd: ", stop - start) # Тест pop(удаление последнего элемента) start = time() @@ -21,7 +21,7 @@ while True: arr.append(5) # Без добавления элемента pop просто будет писать об отсуствии элементов в списке arr.pop() stop = time() - print("pop(посл): ", (stop - start) * 1000) + print("pop(посл): ", stop - start) # Тест pop(удаление первого элемента) start = time() @@ -30,7 +30,7 @@ while True: arr.append(5) # Тоже самое что и в поп где удаление последнего элемента arr.pop(0) stop = time() - print("pop(перв): ", (stop - start) * 1000) + print("pop(перв): ", stop - start) # Тест insert start = time() @@ -38,7 +38,7 @@ while True: for _ in range(REPET[REPET_INDEX]): arr.insert(0,5) stop = time() - print("ins: ", (stop - start) * 1000) + print("ins: ", stop - start) # Добавление индекса и начало нового цикла print("--= кон репит =--") # оповещение об закончивании первого рипита