diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2019-09-29 13:42:41 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-30 16:54:51 -0700 |
commit | 1a31f99c612d275642c67c989714c3d24ee18808 (patch) | |
tree | f9de75fa5a2691bd9119b63b86ce457599a68d97 /meta-python/recipes-devtools | |
parent | a63859f6a3349fbafe5091ea77fb391347225509 (diff) | |
download | meta-openembedded-1a31f99c612d275642c67c989714c3d24ee18808.tar.gz |
python-pyperf: add recipes for python2 and python3
The Python pyperf module is a toolkit to write,
run and analyze benchmarks.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
3 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyperf.inc b/meta-python/recipes-devtools/python/python-pyperf.inc new file mode 100644 index 000000000..81837f300 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyperf.inc | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "A toolkit to write, run and analyze benchmarks" | ||
2 | DESCRIPTION = " \ | ||
3 | The Python pyperf module is a toolkit to write, run and analyze benchmarks. \ | ||
4 | Features: \ | ||
5 | * Simple API to run reliable benchmarks \ | ||
6 | * Automatically calibrate a benchmark for a time budget. \ | ||
7 | * Spawn multiple worker processes. \ | ||
8 | * Compute the mean and standard deviation. \ | ||
9 | * Detect if a benchmark result seems unstable. \ | ||
10 | * JSON format to store benchmark results. \ | ||
11 | * Support multiple units: seconds, bytes and integer. \ | ||
12 | " | ||
13 | LICENSE = "MIT" | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" | ||
15 | |||
16 | SRC_URI[md5sum] = "d67fe5f447963da8873f3e9923f76de1" | ||
17 | SRC_URI[sha256sum] = "8d0143a22a13ee10c997a648f30b82cdc40175d5a20b11055ae058a82e45d371" | ||
18 | |||
19 | inherit pypi | ||
20 | |||
21 | PYPI_PACKAGE = "pyperf" | ||
22 | |||
23 | DEPENDS += "${PYTHON_PN}-six-native" | ||
diff --git a/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb new file mode 100644 index 000000000..a9d5c7488 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyperf_1.6.1.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit setuptools | ||
2 | require python-pyperf.inc | ||
3 | |||
4 | RDEPENDS_${PN} += "${PYTHON_PN}-statistics" | ||
diff --git a/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb new file mode 100644 index 000000000..5ba5efb05 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperf_1.6.1.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-pyperf.inc | ||
3 | |||
4 | RDEPENDS_${PN} += "${PYTHON_PN}-misc" | ||