Rajiv Vijayakumar <rajiv.ku...@gmail.com> added the comment:

I think I have found the root cause - there appears to be a typo in the rusage 
implementation - instead of computing the total time as utime+stime, the code 
performs utime+utime, which explains the doubling observed. I have create a PR 
with the fix.

My Mac runs Mojave with Clang 10.0.1, so I haven't actually been able to test 
the rusage path yet to make absolutely sure that the patch does the right thing.

----------
nosy: +rvijayak

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to