PEP 418: Rerun all benchmarks for the "Precision in Python" column
This commit is contained in:
parent
0dcc3e959d
commit
b839dc7b7b
39
pep-0418.txt
39
pep-0418.txt
|
@ -907,18 +907,18 @@ Examples of clock precision on x86_64:
|
|||
========================= ================ ========= ===================
|
||||
Name Operating system Precision Precision in Python
|
||||
========================= ================ ========= ===================
|
||||
CLOCK_HIGHRES SunOS 5.11 2 ns 253 ns
|
||||
CLOCK_MONOTONIC Linux 3.2 1 ns 2 µs
|
||||
CLOCK_MONOTONIC SunOS 5.11 2 ns 3 µs
|
||||
CLOCK_MONOTONIC_RAW Linux 3.2 1 ns 3 µs
|
||||
CLOCK_BOOTTIME Linux 3.3 1 ns 3 µs
|
||||
QueryPerformanceCounter Windows Seven 10 ns 10 ns
|
||||
CLOCK_HIGHRES SunOS 5.11 2 ns 265 ns
|
||||
CLOCK_MONOTONIC Linux 3.0 1 ns 322 ns
|
||||
CLOCK_MONOTONIC_RAW Linux 3.3 1 ns 628 ns
|
||||
CLOCK_BOOTTIME Linux 3.3 1 ns 628 ns
|
||||
mach_absolute_time() Mac OS 10.6 1 ns 3 µs
|
||||
CLOCK_MONOTONIC FreeBSD 8.2 11 ns 7 µs
|
||||
CLOCK_MONOTONIC OpenBSD 5.0 10 ms 7 µs
|
||||
QueryPerformanceCounter Windows Seven 10 ns 9 µs
|
||||
CLOCK_UPTIME FreeBSD 8.2 11 ns 9 µs
|
||||
CLOCK_MONOTONIC FreeBSD 8.2 11 ns 5 µs
|
||||
CLOCK_MONOTONIC OpenBSD 5.0 10 ms 5 µs
|
||||
CLOCK_UPTIME FreeBSD 8.2 11 ns 6 µs
|
||||
CLOCK_MONOTONIC_COARSE Linux 3.3 1 ms 1 ms
|
||||
GetTickCount64() Windows Seven 16 ms 16 ms
|
||||
CLOCK_MONOTONIC_COARSE Linux 3.0 4 ms 4 ms
|
||||
GetTickCount64() Windows Seven 16 ms 15 ms
|
||||
========================= ================ ========= ===================
|
||||
|
||||
mach_absolute_time
|
||||
|
@ -1158,11 +1158,12 @@ Examples of clock precision on x86_64:
|
|||
Name Operating system Precision Precision in Python
|
||||
========================= ================ ========= ===================
|
||||
CLOCK_REALTIME SunOS 5.11 10 ms 238 ns
|
||||
CLOCK_REALTIME Linux 3.2 1 ns 2 µs
|
||||
CLOCK_REALTIME Linux 3.0 1 ns 238 ns
|
||||
gettimeofday() Mac OS 10.6 1 µs 4 µs
|
||||
CLOCK_REALTIME FreeBSD 8.2 11 ns 7 µs
|
||||
CLOCK_REALTIME OpenBSD 5.0 10 ms 10 µs
|
||||
CLOCK_REALTIME FreeBSD 8.2 11 ns 6 µs
|
||||
CLOCK_REALTIME OpenBSD 5.0 10 ms 5 µs
|
||||
CLOCK_REALTIME_COARSE Linux 3.3 1 ms 1 ms
|
||||
CLOCK_REALTIME_COARSE Linux 3.0 4 ms 4 ms
|
||||
GetSystemTimeAsFileTime() Windows Seven 16 ms 1 ms
|
||||
ftime() Windows Seven \- 1 ms
|
||||
========================= ================ ========= ===================
|
||||
|
@ -1220,22 +1221,24 @@ Examples of clock precision on x86_64:
|
|||
========================= ================ ========= ===================
|
||||
Name Operating system Precision Precision in Python
|
||||
========================= ================ ========= ===================
|
||||
CLOCK_PROCESS_CPUTIME_ID Linux 3.3 1 ns 1 ns
|
||||
CLOCK_PROF FreeBSD 8.2 10 ms 1 µs
|
||||
getrusage(RUSAGE_SELF) FreeBSD 8.2 \- 1 µs
|
||||
getrusage(RUSAGE_SELF) SunOS 5.11 \- 1 µs
|
||||
CLOCK_PROCESS_CPUTIME_ID Linux 3.2 1 ns 3 µs
|
||||
CLOCK_PROCESS_CPUTIME_ID Linux 3.0 1 ns 1 µs
|
||||
getrusage(RUSAGE_SELF) Mac OS 10.6 \- 5 µs
|
||||
clock() Mac OS 10.6 1 µs 5 µs
|
||||
CLOCK_PROF OpenBSD 5.0 \- 7 µs
|
||||
getrusage(RUSAGE_SELF) Linux 3.3 \- 1 ms
|
||||
CLOCK_PROF OpenBSD 5.0 \- 5 µs
|
||||
getrusage(RUSAGE_SELF) Linux 3.0 \- 4 ms
|
||||
getrusage(RUSAGE_SELF) OpenBSD 5.0 \- 8 ms
|
||||
clock() FreeBSD 8.2 8 ms 8 ms
|
||||
clock() Linux 3.2 1 µs 10 ms
|
||||
clock() Linux 3.0 1 µs 10 ms
|
||||
times() Linux 3.0 10 ms 10 ms
|
||||
clock() OpenBSD 5.0 10 ms 10 ms
|
||||
times() OpenBSD 5.0 10 ms 10 ms
|
||||
times() Mac OS 10.6 10 ms 10 ms
|
||||
clock() SunOS 5.11 1 µs 10 ms
|
||||
times() SunOS 5.11 1 µs 10 ms
|
||||
GetProcessTimes() Windows Seven 16 ms 16 ms
|
||||
clock() Windows Seven 1 ms 1 ms
|
||||
========================= ================ ========= ===================
|
||||
|
@ -1290,7 +1293,7 @@ Examples of clock precision on x86_64:
|
|||
Name Operating system Precision Precision in Python
|
||||
========================= ================ =============== ===================
|
||||
CLOCK_THREAD_CPUTIME_ID FreeBSD 8.2 1 µs 1 µs
|
||||
CLOCK_THREAD_CPUTIME_ID Linux 3.2 1 ns 6 µs
|
||||
CLOCK_THREAD_CPUTIME_ID Linux 3.3 1 ns 649 ns
|
||||
GetThreadTimes() Windows Seven 16 ms 16 ms
|
||||
========================= ================ =============== ===================
|
||||
|
||||
|
|
Loading…
Reference in New Issue