summaryrefslogtreecommitdiffstats
path: root/Doc/includes/mp_benchmarks.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/mp_benchmarks.py')
-rw-r--r--Doc/includes/mp_benchmarks.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/includes/mp_benchmarks.py b/Doc/includes/mp_benchmarks.py
index acdf642..3763ea9 100644
--- a/Doc/includes/mp_benchmarks.py
+++ b/Doc/includes/mp_benchmarks.py
@@ -6,16 +6,12 @@
#
import time
-import sys
import multiprocessing
import threading
import queue
import gc
-if sys.platform == 'win32':
- _timer = time.clock
-else:
- _timer = time.time
+_timer = time.perf_counter
delta = 1