Skip to content

Reduce pause time in interactive timer test #30271

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Jul 7, 2025

PR summary

Since the Appveyor run is timing out, I went hunting for some low hanging fruit to speed up the tests. From the slower tests, this seemed like an obvious target as each run of the test is taking ~10 seconds. This seems to work fine.

Since gtk3cairo is disabled in this test, the comment doesn't seem relevant any more.

PR checklist

@dstansby dstansby changed the title Reduce pause time interactive timer test Reduce pause time in interactive timer test Jul 7, 2025
@dstansby dstansby force-pushed the speedup-interactive-timer-tests branch from c72b054 to 3208831 Compare July 8, 2025 10:59
@dstansby dstansby marked this pull request as ready for review July 8, 2025 11:00
@QuLogic QuLogic requested a review from greglucas July 8, 2025 19:59
Copy link
Contributor

@greglucas greglucas left a comment

Choose a reason for hiding this comment

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

This is fine as an incremental update since you note GTK isn't being tested here.

The interactive timers are currently not correct IMO and we need to update them to make sure the timers don't overrun their pause duration. This test is completely reworked in #29062 but that is also failing on the appveyor runs with the GTK backends, I assume because the underlying OS there is causing that timer to be even slower and not get as many triggers. Feel free to review/comment on that PR if you have suggestions there too.

@jkseppan jkseppan added Maintenance CI: testing CI configuration and testing labels Jul 9, 2025
@jkseppan jkseppan added this to the v3.10.4 milestone Jul 9, 2025
@jkseppan jkseppan merged commit ac2a909 into matplotlib:main Jul 9, 2025
48 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jul 9, 2025
@dstansby dstansby deleted the speedup-interactive-timer-tests branch July 9, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: testing CI configuration and testing Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy