Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-114911: use time.perf_counter in Stopwatch#131469

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 4 commits intopython:mainfromchris-eibl:stopwatch
Apr 28, 2025

Conversation

chris-eibl
Copy link
Member

@chris-eiblchris-eibl commentedMar 19, 2025
edited by bedevere-appbot
Loading

Useperf_counter in Stopwatch.

I temporarily added

deftest_denial_of_service_prevented_str_to_int_many(self):foriinrange(1000):self.test_denial_of_service_prevented_str_to_int()

totest_int.py. Withprocess_time it always failed, withperf_counter it always succeeded.

I think this is a skip news?

Copy link
Member

@AA-TurnerAA-Turner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks reasonable.

A

chris-eibland others added2 commitsMarch 21, 2025 12:49
@encukouencukou added the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelMar 24, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@encukou for commit39eb532 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131469%2Fmerge

If you want to schedule another build, you need to add the🔨 test-with-buildbots label again.

@bedevere-botbedevere-bot removed the 🔨 test-with-buildbotsTest PR w/ buildbots; report in status section labelMar 24, 2025
@ZeroIntensityZeroIntensity added the testsTests in the Lib/test dir labelMar 27, 2025
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@AA-TurnerAA-Turner requested a review fromencukouApril 24, 2025 14:53
@encukouencukou merged commit11f457c intopython:mainApr 28, 2025
38 checks passed
@chris-eiblchris-eibl deleted the stopwatch branchApril 28, 2025 18:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugovkhugovkhugovk approved these changes

@AA-TurnerAA-TurnerAA-Turner approved these changes

@vstinnervstinnerAwaiting requested review from vstinner

@encukouencukouAwaiting requested review from encukou

Assignees
No one assigned
Labels
skip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

6 participants
@chris-eibl@bedevere-bot@encukou@hugovk@AA-Turner@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp