This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rvijayak
Recipients Nitapol, lukasz.langa, ned.deily, rhettinger, ronaldoussoren, rvijayak, vstinner
Date 2019-08-27.03:27:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566876453.19.0.959209707045.issue36205@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-08-27 03:27:33rvijayaksetrecipients: + rvijayak, rhettinger, ronaldoussoren, vstinner, ned.deily, lukasz.langa, Nitapol
2019-08-27 03:27:33rvijayaksetmessageid: <1566876453.19.0.959209707045.issue36205@roundup.psfhosted.org>
2019-08-27 03:27:33rvijayaklinkissue36205 messages
2019-08-27 03:27:32rvijayakcreate