1
0
forked from pool/python-pyperf

Compare commits

15 Commits

Author SHA256 Message Date
c7c5270822 Accepting request 1273206 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1273206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=13
2025-04-29 14:40:32 +00:00
013dafdc73 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperf?expand=0&rev=25
2025-04-28 16:37:21 +00:00
ab8c30574c Accepting request 1242788 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1242788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=12
2025-02-03 20:44:57 +00:00
8e13904797 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperf?expand=0&rev=23
2025-02-03 11:14:50 +00:00
b2f580df28 Accepting request 1208843 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1208843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=11
2024-10-18 13:58:37 +00:00
4534de7482 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperf?expand=0&rev=21
2024-10-18 10:46:11 +00:00
a9f8d47352 Accepting request 1183033 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1183033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=10
2024-06-24 18:56:54 +00:00
f9d82a5b13 Accepting request 1158428 from devel:languages:python
- update to 2.6.3:
  * Support Free-threading CPython (PEP-703) by disabling psutil
    related features.
  * Fix mem_max_rss measurement on macOS.

OBS-URL: https://build.opensuse.org/request/show/1158428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=9
2024-03-17 21:14:46 +00:00
7a89396934 Accepting request 1137437 from devel:languages:python
- 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.

- Update to version 2.5.0
- version update to 2.4.1

OBS-URL: https://build.opensuse.org/request/show/1137437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=8
2024-01-07 20:42:43 +00:00
117fa583d1 Accepting request 1035239 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=7
2022-11-12 16:40:53 +00:00
4eed0f05c6 Accepting request 1008685 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1008685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=6
2022-10-07 23:25:05 +00:00
1bf3686e34 Accepting request 967459 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=5
2022-04-07 22:28:03 +00:00
7963d6defc Accepting request 807684 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=4
2020-05-26 15:18:32 +00:00
43316b667d Accepting request 786881 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=3
2020-03-23 11:49:57 +00:00
6366bbf484 Accepting request 782891 from devel:languages:python
py38 fix

OBS-URL: https://build.opensuse.org/request/show/782891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=2
2020-03-09 13:17:57 +00:00
4 changed files with 45 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589
size 222458

3
pyperf-2.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbe0feef8ec1a465df191bba2576149762d15a8c9985c9fea93ab625d875c362
size 227189

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyperf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyperf
Version: 2.7.0
Version: 2.9.0
Release: 0
Summary: Python module to run and analyze benchmarks
License: MIT
@@ -44,6 +44,7 @@ Python module to run and analyze benchmarks.
%prep
%setup -q -n pyperf-%{version}
sed -i '/\/usr\/bin\/env\ python3/d' pyperf/tests/mult_list_bench.py
%build
%pyproject_wheel
@@ -66,6 +67,8 @@ Python module to run and analyze benchmarks.
%doc README.rst
%license COPYING
%python_alternative %{_bindir}/pyperf
%{python_sitelib}/*
%{python_sitelib}/pyperf
%{python_sitelib}/pyperf
%{python_sitelib}/pyperf-%{version}.dist-info
%changelog