From patchwork Wed Sep 5 16:52:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 146011 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp5174342ljw; Wed, 5 Sep 2018 09:52:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYFvem5JWXtl/nK5puIrgaLRFb4PE1Vn26kKQ1R7BqJ4Pabj0Uch3b06TYuKRQMgqvqHlnp X-Received: by 2002:a17:902:561:: with SMTP id 88-v6mr39421430plf.320.1536166357480; Wed, 05 Sep 2018 09:52:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536166357; cv=none; d=google.com; s=arc-20160816; b=b86GPk3e8xMGyNV5Ry7DSDfNecwdQ0qeECauVmTUTMf3u1L3TVvgCArqVnxHJeeuYD g15/lQ6sKP2fsOjDGNLlj70iRkv0tqdnmAwi2mUvNwpOjg0WURnFYIgcBvHDbEEloMBk +NcYV/R4nsiuNHr7iG1XdXVKQyRELi7/uqszfI7/rswT4a1yopx3FRIYu3rz46p+irz4 clJtVPJXlfRQJ/mtmdTytPUKtkoppti7usV9l/LjlwgmeG03er47edimva2Dd1hARHSA MwPvjSMae0W3dRUgtNWiv+2+W6VRsIPIvtvRqigV01wgOKoszEq6To8yUgImahqeHsgy wVpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=emW0vIcKfpMNUTJUuHP6zTaHw+PWYnvybPZrT7BCQRM=; b=02bpg+LTjFjR7Sum3gP4G6i7RYQ8E8NoXRHV3qYCW5N88c0iCi59ZgpvSV0DrctJgj uD7KZ1T4TcU/ahWMMDBDp75qaHVhQfGal9UMZ2ZjLgXN+Q2j7+BiCtSQSdHLjg8n0oZ8 0ubuWB0GjAMqBpwfS0adW2xhtCQCGpbrcJiD7RsOqStoe5SLaJXlzJrv2/cQhMrZXZr1 3qDKStgwFFbkfGhInPDzGOWhlMe1crM8MtdBWeaNOf26jcIWoJMEhEOrBWeCYpiF/ES/ ov7wi8Xhyz33+KxT+qsB//9NrP6NydogxZ3kKxy7vrChc468hB0jqsnWb9FgXKshHucZ PD5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linuxfoundation.org header.s=google header.b=RYrSUKSI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b69-v6si2471465pga.90.2018.09.05.09.52.36; Wed, 05 Sep 2018 09:52:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linuxfoundation.org header.s=google header.b=RYrSUKSI; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 95F8074765; Wed, 5 Sep 2018 16:52:31 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id A982D74AFA for ; Wed, 5 Sep 2018 16:52:29 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id w11-v6so8409547wrc.5 for ; Wed, 05 Sep 2018 09:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id; bh=8W5pzQGkBBhYCpfg542UJ+FnH/KeEeofipRv7mm1LXA=; b=RYrSUKSINQs4uXQIEVey9PL9hv3oRyVSBJkWQsrkYnzw6bVPu2S6+CTtzpB/RT+RnE D9nNJXjC4P36LpAP2t5Bxq5gHi00eWIR9PI7NZKTpow8rXANrO0XEECxfdg/SS1xcwvd fO6p88rttmlIqTeknJ7YQ0Mv+1DzuQjMzlPbw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8W5pzQGkBBhYCpfg542UJ+FnH/KeEeofipRv7mm1LXA=; b=dxqsMvVNuFpnrHBz/7WVGApAKdo9QqiD0+N7O7Ao/P9eTFzbNogrI/iM/yWTenE/l4 8jWXv/DjmI4BFV4m9EY5IQxIv311bsezQdFM2maWsALmf5CYVA3sxBRCnSW4OPX3gNTl adWTYfEP21dcuTYVtDe+5zSm1OJQfONUJO5uXVWbgRMWbkLBgucljiDxwRSDpXglpTF5 aBs6cntpWnPkeini82YAN7YvHcYzzOf10bYQC1Hy669fbvOXfP22u+xxLsPGlLMCa5Q9 +DqztPUOIvCej3uXJY2YgsUYYk0OhIzUNKnqngS7MQvWBtVjJ9TpDZlna3J0C3Sz7RKW U1lA== X-Gm-Message-State: APzg51Ay3qeUc+pKoFSV9+aanbrqzQINmhyq41lR9n3FPWFsKXqsj0rC BDnE9UmiYCI+EG1rdTdp+vQAzLkX8ew= X-Received: by 2002:a5d:484f:: with SMTP id n15-v6mr25676940wrs.234.1536166350120; Wed, 05 Sep 2018 09:52:30 -0700 (PDT) Received: from hex.int.rpsys.net (5751f4a1.skybroadband.com. [87.81.244.161]) by smtp.gmail.com with ESMTPSA id u65-v6sm3476169wmd.31.2018.09.05.09.52.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 09:52:29 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Date: Wed, 5 Sep 2018 17:52:20 +0100 Message-Id: <20180905165227.29435-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 Subject: [OE-core] [PATCH 1/8] python: Run pybench once for optimisation task in pgo X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton There is no good reason to loop 10 times on the test since the profile optimisation won't change between runs, we don't need/want a statistical average. This is just burning cpu cycles, just make 1 run. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.5.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb b/meta/recipes-devtools/python/python3_3.5.5.bb index bfe91fb1c71..8afe15eee6a 100644 --- a/meta/recipes-devtools/python/python3_3.5.5.bb +++ b/meta/recipes-devtools/python/python3_3.5.5.bb @@ -74,7 +74,7 @@ TARGET_CC_ARCH += "-DNDEBUG -fno-inline" SDK_CC_ARCH += "-DNDEBUG -fno-inline" EXTRA_OEMAKE += "CROSS_COMPILE=yes" EXTRA_OECONF += "CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ --without-ensurepip --enable-optimizations" -PYTHON3_PROFILE_TASK ?= "${S}/Tools/pybench/pybench.py -n 10" +PYTHON3_PROFILE_TASK ?= "${S}/Tools/pybench/pybench.py -n 1" export CROSS_COMPILE = "${TARGET_PREFIX}" export _PYTHON_PROJECT_BASE = "${B}"