File python-pyperf.changes of Package python-pyperf
-------------------------------------------------------------------
Mon Apr 28 16:37:10 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.9.0:
* Feature: A new hook, perf_record, is available to turn Linux
perf profiling on and off around the benchmark code. To use
it, pass --hook perf_record. Patch by Matt Page.
* Feature: pyperf will now warn if you are collecting too few
or too many samples for stable results. Patch by Michael
Droettboom
-------------------------------------------------------------------
Mon Feb 3 09:45:35 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.9.0
* Bugfix: Hooks now work correctly in subprocess benchmarks
(bench.run_command).
* Python 3.8 is now unsupported.
- Limit Python files matched in %files section
-------------------------------------------------------------------
Fri Oct 18 10:45:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.8.0:
* 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
-------------------------------------------------------------------
Mon Jun 24 15:29:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.7.0:
* Fix logic in MSR availability test.
* Disable tuning TurboBoost setting on non-Intel device.
* Include CONFIG_ARGS in Metadata.
* Support environment variables PYTHON_GIL / PYTHON_CPU_COUNT.
-------------------------------------------------------------------
Sat Mar 16 09:47:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.6.3:
* Support Free-threading CPython (PEP-703) by disabling psutil
related features.
* Fix mem_max_rss measurement on macOS.
-------------------------------------------------------------------
Sun Jan 7 20:18:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.6.2:
* Now, pystats stats are collected during warmups.
* system: Fix detection of battery.
* Fix a possible attribute error in argument parsing.
* Inherit PYTHONPATH environment variable by default.
* Runner.bench_async_func() takes an optional loop_factory to
support custom loop construction.
-------------------------------------------------------------------
Wed Nov 9 18:34:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.5.0
* Recognize new name of Graal-based Python as jitted by @timfel in #139
* Collect specialization statistics from running benchmarks by @mdboom in #140
* Add support for Python 3.11 by @hugovk in #142
-------------------------------------------------------------------
Thu Oct 6 21:53:01 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- version update to 2.4.1
* Reject --tracemalloc in pyperf command by @oraluben in #131
-------------------------------------------------------------------
Thu Apr 7 07:58:28 UTC 2022 - pgajdos@suse.com
- version update to 2.3.1
Version 2.3.1 (2022-02-03)
--------------------------
* Add a ``Runner.bench_async_func()`` to benchmark an asyncio coroutine.
Patch by Inada Naoki.
* pyperf now recognizes graalpython as the JIT-based implementation.
Patch by Tim Felgentreff.
Version 2.3.0 (2021-09-28)
--------------------------
* pyperf ref:`compare_to command <compare_to_cmd>` now supports the
``--table-format`` option which can designate the table format
between reST and markdown.
Version 2.2.0 (2021-03-24)
--------------------------
* ``--track-memory`` option now supports macOS by using ``psutil``.
* Added ``--copy-env`` command line option that inherits all environment variables.
* The development branch ``master`` was renamed to ``main``.
See https://sfconservancy.org/news/2020/jun/23/gitbranchname/ for the
rationale.
Version 2.1.0 (2021-01-14)
--------------------------
* The :ref:`compare_to command <compare_to_cmd>` now computes the geometric
mean.
* The :ref:`compare_to command <compare_to_cmd>` 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
<https://www.python.org/psf/codeofconduct/>`_.
-------------------------------------------------------------------
Wed May 20 07:26:37 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Fri Mar 20 12:42:05 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to version 2.0.0
* Drop Python 2 support. Use pyperf 1.7.1 if you still need Python 2.7
support.
* Remove ``python_unicode`` metadata.
* pyperf.perf_counter() is now deprecated: use time.perf_counter() directly.
* Support Python 3.8: ``time.clock()`` no longer exists.
- Drop no longer needed patches python-retcode.patch and python38.patch
-------------------------------------------------------------------
Mon Mar 9 10:35:44 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Add patches to work with py3.8:
* python-retcode.patch
* python38.patch
-------------------------------------------------------------------
Mon Mar 9 09:21:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.7.0:
* metadata: add ``python_compiler``
* Windows: inherit ``SystemDrive`` environment variable by default.
* Fix tests on ARM and PPC: cpu_model_name metadata is no longer required
on Linux.
* tests: Do not allow test suite to execute without unittest2 on Python2,
otherwise man failures occur due to missing 'assertRegex'.
* doc: Update old/dead links.
* Travis CI: drop Python 3.4 support.
-------------------------------------------------------------------
Sat Oct 12 16:36:04 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Fixed execution of test suite, skipping test_collect_metadata
- Fixed Python 2 runtime dependencies and recommends psutil
-------------------------------------------------------------------
Thu Sep 12 12:39:59 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.6.1