Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add time unit #257

Merged
merged 2 commits into from
Oct 27, 2024
Merged

add time unit #257

merged 2 commits into from
Oct 27, 2024

Conversation

tony92151
Copy link
Contributor

No description provided.

@ionelmc ionelmc merged commit dfbb285 into ionelmc:master Oct 27, 2024
1 check was pending
github-actions bot added a commit to Diapolo10/python-rust-template that referenced this pull request Oct 29, 2024
Bumps [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark)
from 4.0.0 to 5.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst">pytest-benchmark's
changelog</a>.</em></p>
<blockquote>
<h2>5.0.0 (2024-10-29)</h2>
<ul>
<li>
<p>Dropped support for now EOL Python 3.8. Also moved tests suite to
only test the latest pytest versions (8.3.x).</p>
</li>
<li>
<p>Fix generate parametrize tests benchmark csv report errors (issue
<code>[#268](ionelmc/pytest-benchmark#268)
&lt;https://github.com/ionelmc/pytest-benchmark/issues/268&gt;</code><em>).
Contributed by Johnny Huang in
<code>[#269](ionelmc/pytest-benchmark#269)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/269&gt;</code></em>.</p>
</li>
<li>
<p>Added the <code>--benchmark-time-unit</code> cli option for
overriding the measurement unit used for display.
Contributed by Tony Kuo in
<code>[#257](ionelmc/pytest-benchmark#257)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/257&gt;</code>_.</p>
</li>
<li>
<p>Fixes spelling in some help texts.
Contributed by Eugeniy in
<code>[#267](ionelmc/pytest-benchmark#267)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/267&gt;</code>_.</p>
</li>
<li>
<p>Added new cprofile options:</p>
<ul>
<li><code>--benchmark-cprofile-loops=LOOPS</code> - previously profiling
only ran the function once, this allow customization.</li>
<li><code>--benchmark-cprofile-top=COUNT</code> - allows showing more
rows.</li>
<li><code>--benchmark-cprofile-dump=[FILENAME-PREFIX]</code> - allows
saving to a file (that you can load in <code>snakeviz
&lt;https://pypi.org/project/snakeviz/&gt;</code><em>, <code>RunSnakeRun
&lt;https://pypi.org/project/RunSnakeRun/&gt;</code></em> or other
tools).</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/614df4481de431ddd61e3c7b521cfa67dba948be"><code>614df44</code></a>
Bump version: 4.0.0 → 5.0.0</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/65fc262d31b05cae8e2e22999a063f406594730b"><code>65fc262</code></a>
Make it a major (since it drops py3.8).</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/0c32498878a6475d96ed0215ddc1077675181c03"><code>0c32498</code></a>
Remove stray stuff.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/e1dcd91e5f65731698ba62d0beb95d1a709cfba5"><code>e1dcd91</code></a>
Add new cprofile options.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/61229eb0d57ccbb647da390cb474b77c7786cf22"><code>61229eb</code></a>
Replace all uses of py.path with pathlib.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/00a2d08597dd57c53b2e3a1935d99c2e1d148412"><code>00a2d08</code></a>
Fix stub.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/bbdf30f7be1e7315deadab449d69885aa87d7c17"><code>bbdf30f</code></a>
Oops, fix cleanup regression.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/e88eceb3f3dfe198bb318bf68581b76609992e1a"><code>e88eceb</code></a>
Add <code>--benchmark-cprofile-loops</code> and
<code>--benchmark-cprofile-top</code> options.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/fcd7d95b15f6db71a5f5bf532d48639c8eb6af83"><code>fcd7d95</code></a>
Clean up this index mess.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/023d699a52e456e00de7a5c1f751fa6575215f7c"><code>023d699</code></a>
Cleanup some leftover py 3.8 (or older) support code.</li>
<li>Additional commits viewable in <a
href="https://github.com/ionelmc/pytest-benchmark/compare/v4.0.0...v5.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-benchmark&package-manager=pip&previous-version=4.0.0&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
daverigby pushed a commit to pinecone-io/VSB that referenced this pull request Nov 4, 2024
Bumps [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark)
from 4.0.0 to 5.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst">pytest-benchmark's
changelog</a>.</em></p>
<blockquote>
<h2>5.1.0 (2024-10-30)</h2>
<ul>
<li>Fixed broken hooks handling on pytest 8.1 or later (the
<code>TypeError: import_path() missing 1 required keyword-only argument:
'consider_namespace_packages'</code> issue).
Unfortunately this sets the minimum supported pytest version to
8.1.</li>
</ul>
<h2>5.0.1 (2024-10-30)</h2>
<ul>
<li>Fixed bad fixture check that broke down then <code>nbmake
&lt;https://pypi.org/project/nbmake/&gt;</code>_ was enabled.</li>
</ul>
<h2>5.0.0 (2024-10-29)</h2>
<ul>
<li>
<p>Dropped support for now EOL Python 3.8. Also moved tests suite to
only test the latest pytest versions (8.3.x).</p>
</li>
<li>
<p>Fix generate parametrize tests benchmark csv report errors (issue
<code>[#268](ionelmc/pytest-benchmark#268)
&lt;https://github.com/ionelmc/pytest-benchmark/issues/268&gt;</code><em>).
Contributed by Johnny Huang in
<code>[#269](ionelmc/pytest-benchmark#269)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/269&gt;</code></em>.</p>
</li>
<li>
<p>Added the <code>--benchmark-time-unit</code> cli option for
overriding the measurement unit used for display.
Contributed by Tony Kuo in
<code>[#257](ionelmc/pytest-benchmark#257)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/257&gt;</code>_.</p>
</li>
<li>
<p>Fixes spelling in some help texts.
Contributed by Eugeniy in
<code>[#267](ionelmc/pytest-benchmark#267)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/267&gt;</code>_.</p>
</li>
<li>
<p>Added new cprofile options:</p>
<ul>
<li><code>--benchmark-cprofile-loops=LOOPS</code> - previously profiling
only ran the function once, this allow customization.</li>
<li><code>--benchmark-cprofile-top=COUNT</code> - allows showing more
rows.</li>
<li><code>--benchmark-cprofile-dump=[FILENAME-PREFIX]</code> - allows
saving to a file (that you can load in <code>snakeviz
&lt;https://pypi.org/project/snakeviz/&gt;</code><em>, <code>RunSnakeRun
&lt;https://pypi.org/project/RunSnakeRun/&gt;</code></em> or other
tools).</li>
</ul>
</li>
<li>
<p>Removed hidden dependency on <code>py.path
&lt;https://pypi.org/project/py/&gt;</code>_ (replaced with
pathlib).</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/fcc60e0fc842d435a07ab2c4fb9e93cd8d50a543"><code>fcc60e0</code></a>
Bump version: 5.0.1 → 5.1.0</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/8dfeeeca8a5c640a4dc4455904ace4f97f62e655"><code>8dfeeec</code></a>
Fix broken hooks on pytest 8.1+ (and set that as the min supported
version). ...</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/41302edb93db1c0b1f51a85be7b668ef65058e11"><code>41302ed</code></a>
Bump version: 5.0.0 → 5.0.1</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/3f55df23b2a3c687828bd11907b647fe905b4d8e"><code>3f55df2</code></a>
Update changelog.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/6318314192ee45b55d3bb4c325be5d0e633b2be0"><code>6318314</code></a>
Fix bad fixture check. Close <a
href="https://redirect.github.com/ionelmc/pytest-benchmark/issues/271">#271</a>.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/614df4481de431ddd61e3c7b521cfa67dba948be"><code>614df44</code></a>
Bump version: 4.0.0 → 5.0.0</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/65fc262d31b05cae8e2e22999a063f406594730b"><code>65fc262</code></a>
Make it a major (since it drops py3.8).</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/0c32498878a6475d96ed0215ddc1077675181c03"><code>0c32498</code></a>
Remove stray stuff.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/e1dcd91e5f65731698ba62d0beb95d1a709cfba5"><code>e1dcd91</code></a>
Add new cprofile options.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/61229eb0d57ccbb647da390cb474b77c7786cf22"><code>61229eb</code></a>
Replace all uses of py.path with pathlib.</li>
<li>Additional commits viewable in <a
href="https://github.com/ionelmc/pytest-benchmark/compare/v4.0.0...v5.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-benchmark&package-manager=pip&previous-version=4.0.0&new-version=5.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
frunika added a commit to frunika/Photobooth that referenced this pull request Dec 3, 2024
Bumps [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark)
from 4.0.0 to 5.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst">pytest-benchmark's
changelog</a>.</em></p>
<blockquote>
<h2>5.1.0 (2024-10-30)</h2>
<ul>
<li>Fixed broken hooks handling on pytest 8.1 or later (the
<code>TypeError: import_path() missing 1 required keyword-only argument:
'consider_namespace_packages'</code> issue).
Unfortunately this sets the minimum supported pytest version to
8.1.</li>
</ul>
<h2>5.0.1 (2024-10-30)</h2>
<ul>
<li>Fixed bad fixture check that broke down then <code>nbmake
&lt;https://pypi.org/project/nbmake/&gt;</code>_ was enabled.</li>
</ul>
<h2>5.0.0 (2024-10-29)</h2>
<ul>
<li>
<p>Dropped support for now EOL Python 3.8. Also moved tests suite to
only test the latest pytest versions (8.3.x).</p>
</li>
<li>
<p>Fix generate parametrize tests benchmark csv report errors (issue
<code>[#268](ionelmc/pytest-benchmark#268)
&lt;https://github.com/ionelmc/pytest-benchmark/issues/268&gt;</code><em>).
Contributed by Johnny Huang in
<code>[#269](ionelmc/pytest-benchmark#269)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/269&gt;</code></em>.</p>
</li>
<li>
<p>Added the <code>--benchmark-time-unit</code> cli option for
overriding the measurement unit used for display.
Contributed by Tony Kuo in
<code>[#257](ionelmc/pytest-benchmark#257)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/257&gt;</code>_.</p>
</li>
<li>
<p>Fixes spelling in some help texts.
Contributed by Eugeniy in
<code>[#267](ionelmc/pytest-benchmark#267)
&lt;https://github.com/ionelmc/pytest-benchmark/pull/267&gt;</code>_.</p>
</li>
<li>
<p>Added new cprofile options:</p>
<ul>
<li><code>--benchmark-cprofile-loops=LOOPS</code> - previously profiling
only ran the function once, this allow customization.</li>
<li><code>--benchmark-cprofile-top=COUNT</code> - allows showing more
rows.</li>
<li><code>--benchmark-cprofile-dump=[FILENAME-PREFIX]</code> - allows
saving to a file (that you can load in <code>snakeviz
&lt;https://pypi.org/project/snakeviz/&gt;</code><em>, <code>RunSnakeRun
&lt;https://pypi.org/project/RunSnakeRun/&gt;</code></em> or other
tools).</li>
</ul>
</li>
<li>
<p>Removed hidden dependency on <code>py.path
&lt;https://pypi.org/project/py/&gt;</code>_ (replaced with
pathlib).</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/fcc60e0fc842d435a07ab2c4fb9e93cd8d50a543"><code>fcc60e0</code></a>
Bump version: 5.0.1 → 5.1.0</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/8dfeeeca8a5c640a4dc4455904ace4f97f62e655"><code>8dfeeec</code></a>
Fix broken hooks on pytest 8.1+ (and set that as the min supported
version). ...</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/41302edb93db1c0b1f51a85be7b668ef65058e11"><code>41302ed</code></a>
Bump version: 5.0.0 → 5.0.1</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/3f55df23b2a3c687828bd11907b647fe905b4d8e"><code>3f55df2</code></a>
Update changelog.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/6318314192ee45b55d3bb4c325be5d0e633b2be0"><code>6318314</code></a>
Fix bad fixture check. Close <a
href="https://redirect.github.com/ionelmc/pytest-benchmark/issues/271">#271</a>.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/614df4481de431ddd61e3c7b521cfa67dba948be"><code>614df44</code></a>
Bump version: 4.0.0 → 5.0.0</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/65fc262d31b05cae8e2e22999a063f406594730b"><code>65fc262</code></a>
Make it a major (since it drops py3.8).</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/0c32498878a6475d96ed0215ddc1077675181c03"><code>0c32498</code></a>
Remove stray stuff.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/e1dcd91e5f65731698ba62d0beb95d1a709cfba5"><code>e1dcd91</code></a>
Add new cprofile options.</li>
<li><a
href="https://github.com/ionelmc/pytest-benchmark/commit/61229eb0d57ccbb647da390cb474b77c7786cf22"><code>61229eb</code></a>
Replace all uses of py.path with pathlib.</li>
<li>Additional commits viewable in <a
href="https://github.com/ionelmc/pytest-benchmark/compare/v4.0.0...v5.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-benchmark&package-manager=pip&previous-version=4.0.0&new-version=5.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
@tony92151 tony92151 deleted the add-time-unit branch February 16, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants