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 vstinner
Recipients brett.cannon, florin.papa, pitrou, vstinner, yselivanov
Date 2016-02-03.14:22:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454509356.36.0.000470428522683.issue26274@psf.upfronthosting.co.za>
In-reply-to
Content
Florent: "I was thinking that a warning might go unnoticed, that is why I chose to end the program if taskset is not found."

Oh right, I kept your behaviour and pushed a change.

---
changeset:   238:a97acad3bbf7
tag:         tip
user:        Victor Stinner <victor.stinner@gmail.com>
date:        Wed Feb 03 15:20:02 2016 +0100
files:       perf.py
description:
Add --affinity command line option

If used, run the benchmark using taskset to pin the process to a set of CPU
cores to reduce context switching. See taskset manual page for more information.

Patch written by Florin Papa.
---
History
Date User Action Args
2016-02-03 14:22:36vstinnersetrecipients: + vstinner, brett.cannon, pitrou, yselivanov, florin.papa
2016-02-03 14:22:36vstinnersetmessageid: <1454509356.36.0.000470428522683.issue26274@psf.upfronthosting.co.za>
2016-02-03 14:22:36vstinnerlinkissue26274 messages
2016-02-03 14:22:36vstinnercreate