From dc4f8b38043bfb8418ec9e5881cdf4e50e700114 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 19 Jan 2021 19:37:39 +0200 Subject: python3-pyperf: Upgrade 2.0.0 -> 2.1.0 Upgrade to release 2.1.0: - The compare_to command now computes the geometric mean. - The compare_to command no longer displays percentages: display less numbers to make the output easier to read. Also, percentage were almost the same values than the xxx faster or xxx slower values, but rounded differenly which introduced confusion. - Project moved to https://github.com/psf/pyperf/ - system command now only emits a warning rather than failing with a hard error if it fails to get or set the frequency of a CPU. - The pyperf project is now covered by the PSF Code of Conduct. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pyperf_2.1.0.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb new file mode 100644 index 0000000000..b57ea16eba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.1.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "A toolkit to write, run and analyze benchmarks" +DESCRIPTION = " \ +The Python pyperf module is a toolkit to write, run and analyze benchmarks. \ +Features: \ + * Simple API to run reliable benchmarks \ + * Automatically calibrate a benchmark for a time budget. \ + * Spawn multiple worker processes. \ + * Compute the mean and standard deviation. \ + * Detect if a benchmark result seems unstable. \ + * JSON format to store benchmark results. \ + * Support multiple units: seconds, bytes and integer. \ +" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" + +SRC_URI[sha256sum] = "1257d673d89fdcdbaec8077afeb365e7a94739c1b263572b09403cac25708ad3" + +DEPENDS += "${PYTHON_PN}-six-native" + +PYPI_PACKAGE = "pyperf" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-misc" -- cgit v1.2.3-54-g00ecf