From 1d4e001254708b635d13e09381e74d1c76621e17 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 14 Oct 2024 16:54:57 +0800 Subject: python3-pyperf: upgrade 2.7.0 -> 2.8.0 Changelog: =========== - Refactor operations to fully work on AArch64. - Fix the max_mem_rss measurement - Allow setting the amount of warmup values in Runner - Add hooks for calling arbitrary code around each benchmark - Use KiB and MiB as units instead of kB and MB. - Fix Spelling Error - Make hooks work in bench_command subprocesses - Fix deprecated method in bench_time_func example - Separate subprocess writing/parsing into their own functions - Fix "std dev" link - Implement --timeout when running benchmarks Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pyperf_2.7.0.bb | 23 ---------------------- .../python/python3-pyperf_2.8.0.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb deleted file mode 100644 index f3ebfe2d9b..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb +++ /dev/null @@ -1,23 +0,0 @@ -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] = "4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589" - -DEPENDS += "python3-six-native" - -PYPI_PACKAGE = "pyperf" -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} += "python3-misc python3-statistics" diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.8.0.bb new file mode 100644 index 0000000000..9857701b57 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.8.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] = "b30a20465819daf102b6543b512f6799a5a879ff2a123981e6cd732d0e6a7a79" + +DEPENDS += "python3-six-native" + +PYPI_PACKAGE = "pyperf" +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += "python3-misc python3-statistics" -- cgit v1.2.3-54-g00ecf