diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-11 10:11:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 10:11:46 (GMT) |
commit | 536a35b3f14888999f1ffa5be7239d0c26b73d7a (patch) | |
tree | 108c9ac0b94843733069be5c2fe6c48524708dcc /Misc | |
parent | b3c92c6ae923ffb2b9ac5f80b28ecd689de48662 (diff) | |
download | cpython-536a35b3f14888999f1ffa5be7239d0c26b73d7a.zip cpython-536a35b3f14888999f1ffa5be7239d0c26b73d7a.tar.gz cpython-536a35b3f14888999f1ffa5be7239d0c26b73d7a.tar.bz2 |
bpo-36575: lsprof: Use _PyTime_GetPerfCounter() (GH-8378)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-04-09-22-40-52.bpo-36575.Vg_p92.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-04-09-22-40-52.bpo-36575.Vg_p92.rst b/Misc/NEWS.d/next/Library/2019-04-09-22-40-52.bpo-36575.Vg_p92.rst new file mode 100644 index 0000000..3e305f1 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-04-09-22-40-52.bpo-36575.Vg_p92.rst @@ -0,0 +1,4 @@ +The ``_lsprof`` module now uses internal timer same to ``time.perf_counter()`` by default. +``gettimeofday(2)`` was used on Unix. New timer has better resolution on most Unix +platforms and timings are no longer impacted by system clock updates since ``perf_counter()`` +is monotonic. Patch by Inada Naoki. |