pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pyperf
Module Name: pkgsrc
Committed By: adam
Date: Wed Nov 18 09:03:59 UTC 2026
Modified Files:
pkgsrc/devel/py-pyperf: Makefile PLIST distinfo
Log Message:
py-pyperf: updated to 2.11.0
2.11.0 (2026-11-08)
* Feature: Add ``--in-process`` option to run benchmarks in the current process.
This is useful when you cannot spawn child processes, such as on WASM environments.
* Feature: Add a new ``tachyon`` hook to profile benchmarks with the Tachyon
sampling profiler of Python 3.15 (``--hook tachyon``).
* Feature: Hooks can now be registered from code with the new ``hooks``
parameter of :class:`Runner`.
* Feature: Add :meth:`Runner.is_worker` to guard code which processes
benchmark results in the main process.
* Feature: Add ``cpu_quota`` metadata: the Linux cgroup CPU bandwidth limit of
the process (ex: ``docker run --cpus=2``).
* Bugfix: Allow a ``mem_max_rss`` metadata value of zero.
* Bugfix: ``psutil`` is now optional on the Emscripten platform.
* Optimization: ``format_number()`` and ``_common_metadata()`` are faster.
* Maintenance: ``pyperf`` now requires Python 3.11 or higher.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-pyperf/Makefile \
pkgsrc/devel/py-pyperf/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-pyperf/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-pyperf/Makefile
diff -u pkgsrc/devel/py-pyperf/Makefile:1.2 pkgsrc/devel/py-pyperf/Makefile:1.3
--- pkgsrc/devel/py-pyperf/Makefile:1.2 Mon Feb 9 19:44:28 2026
+++ pkgsrc/devel/py-pyperf/Makefile Wed Nov 18 09:03:59 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2026/02/09 19:44:28 adam Exp $
+# $NetBSD: Makefile,v 1.3 2026/11/18 09:03:59 adam Exp $
-DISTNAME= pyperf-2.10.0
+DISTNAME= pyperf-2.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyperf/}
@@ -15,8 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-psutil>=5.9.0:.
USE_LANGUAGES= # none
-post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} pyperf pyperf-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES= pyperf
# as of 2.9.0
# 11 failed, 162 passed
Index: pkgsrc/devel/py-pyperf/distinfo
diff -u pkgsrc/devel/py-pyperf/distinfo:1.2 pkgsrc/devel/py-pyperf/distinfo:1.3
--- pkgsrc/devel/py-pyperf/distinfo:1.2 Mon Feb 9 19:44:28 2026
+++ pkgsrc/devel/py-pyperf/distinfo Wed Nov 18 09:03:59 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2026/02/09 19:44:28 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/11/18 09:03:59 adam Exp $
-BLAKE2s (pyperf-2.10.0.tar.gz) = eb6b2b5514205a43dd2028a99b5d0b07085ca9b604492c450fe2dca66f6719e5
-SHA512 (pyperf-2.10.0.tar.gz) = 4ab9e43028dcd623a8fac0cf1afc2b2ff89bd958a0a9eda85b2ba01a1a4f58c0f1371b6c514cae113982d904546cf1cf729d79d1b2e6c3e333093bbbeacdc6fb
-Size (pyperf-2.10.0.tar.gz) = 227609 bytes
+BLAKE2s (pyperf-2.11.0.tar.gz) = 804c981e206a6a45975f5ec78322dc107d8ab9755dc047ad2c085f5085aaf8c1
+SHA512 (pyperf-2.11.0.tar.gz) = d866164e920916420e40d2b1afaed92dc632e6a964fee0ce1ae97bef8745d4f7a80ce31fb213d5f0a0fedab01ea7d7c7c8337c909f5571cc4a1c6abdd49761c7
+Size (pyperf-2.11.0.tar.gz) = 236570 bytes
Index: pkgsrc/devel/py-pyperf/PLIST
diff -u pkgsrc/devel/py-pyperf/PLIST:1.1 pkgsrc/devel/py-pyperf/PLIST:1.2
--- pkgsrc/devel/py-pyperf/PLIST:1.1 Mon Sep 22 21:41:54 2025
+++ pkgsrc/devel/py-pyperf/PLIST Wed Nov 18 09:03:59 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2025/09/22 21:41:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/11/18 09:03:59 adam Exp $
bin/pyperf-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -36,6 +36,9 @@ ${PYSITELIB}/pyperf/_formatter.pyo
${PYSITELIB}/pyperf/_hooks.py
${PYSITELIB}/pyperf/_hooks.pyc
${PYSITELIB}/pyperf/_hooks.pyo
+${PYSITELIB}/pyperf/_inprocess_manager.py
+${PYSITELIB}/pyperf/_inprocess_manager.pyc
+${PYSITELIB}/pyperf/_inprocess_manager.pyo
${PYSITELIB}/pyperf/_linux_memory.py
${PYSITELIB}/pyperf/_linux_memory.pyc
${PYSITELIB}/pyperf/_linux_memory.pyo
@@ -96,6 +99,9 @@ ${PYSITELIB}/pyperf/tests/test_cli.pyo
${PYSITELIB}/pyperf/tests/test_examples.py
${PYSITELIB}/pyperf/tests/test_examples.pyc
${PYSITELIB}/pyperf/tests/test_examples.pyo
+${PYSITELIB}/pyperf/tests/test_inprocess.py
+${PYSITELIB}/pyperf/tests/test_inprocess.pyc
+${PYSITELIB}/pyperf/tests/test_inprocess.pyo
${PYSITELIB}/pyperf/tests/test_metadata.py
${PYSITELIB}/pyperf/tests/test_metadata.pyc
${PYSITELIB}/pyperf/tests/test_metadata.pyo
Home |
Main Index |
Thread Index |
Old Index