René's URL Explorer Experiment


Title: PERF: Cache ticks and ticklabel bboxes within each draw cycle by scottshambaugh · Pull Request #31012 · matplotlib/matplotlib · GitHub

Open Graph Title: PERF: Cache ticks and ticklabel bboxes within each draw cycle by scottshambaugh · Pull Request #31012 · matplotlib/matplotlib

X Title: PERF: Cache ticks and ticklabel bboxes within each draw cycle by scottshambaugh · Pull Request #31012 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: PR summary Towards #5665 Currently we are calling _update_ticks() 3 times per axis every draw call, and _get_ticklabel_bboxes 2 times per axis. These calls take up about 35% of total draw time for ...

X Description: PR summary Towards #5665 Currently we are calling _update_ticks() 3 times per axis every draw call, and _get_ticklabel_bboxes 2 times per axis. These calls take up about 35% of total draw time for ...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/31012

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:7f915e5c-80b1-9625-a609-5a13441a97eb
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idDA00:3A0B08:387D40:4D397B:6A553D1B
html-safe-nonce1c1831933fb9d87ba66473700c30c0bd82af9f28a5b84dd49370cdb79c74d560
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTAwOjNBMEIwODozODdENDA6NEQzOTdCOjZBNTUzRDFCIiwidmlzaXRvcl9pZCI6IjU4MTUyNjI2Njk3NTQ5NDA2OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac315695d8df6889e9221e3f986c81ec07a6d2a3c8686b3128240cfa1ec7ad3b69
hovercard-subject-tagpull_request:3197513880
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/31012/checks
twitter:imagehttps://opengraph.githubassets.com/b8264f90d8fa1006c83ab9ea715cfc9033cff336d7336994aefa7505798ecf0e/matplotlib/matplotlib/pull/31012
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b8264f90d8fa1006c83ab9ea715cfc9033cff336d7336994aefa7505798ecf0e/matplotlib/matplotlib/pull/31012
og:image:altPR summary Towards #5665 Currently we are calling _update_ticks() 3 times per axis every draw call, and _get_ticklabel_bboxes 2 times per axis. These calls take up about 35% of total draw time for ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamescottshambaugh
hostnamegithub.com
expected-hostnamegithub.com
Nonefbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89
turbo-cache-controlno-cache
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release811f50b757204c6a1b4da0ea780075b3e1cc9e57
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/31012/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31012%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31012%2Fchecks
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/31012/checks
Reloadhttps://github.com/matplotlib/matplotlib/pull/31012/checks
Reloadhttps://github.com/matplotlib/matplotlib/pull/31012/checks
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31012/checks
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31012/checks
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 409 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
scottshambaughhttps://github.com/scottshambaugh
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
scottshambaugh:ticks_cachehttps://github.com/scottshambaugh/matplotlib/tree/ticks_cache
Conversationhttps://github.com/matplotlib/matplotlib/pull/31012
Commits8 (8)https://github.com/matplotlib/matplotlib/pull/31012/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/31012/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/31012/files
PERF: Cache ticks and ticklabel bboxes within each draw cyclehttps://github.com/matplotlib/matplotlib/pull/31012/checks#top
scottshambaughhttps://github.com/scottshambaugh
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
scottshambaugh:ticks_cachehttps://github.com/scottshambaugh/matplotlib/tree/ticks_cache
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/31012/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F31012%2Fchecks
Maintenance on: pull_request_target https://github.com/matplotlib/matplotlib/actions/runs/22783222748
main https://github.com/matplotlib/matplotlib/actions/runs/22783222748/job/66093943665?pr=31012
examples https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66095044433
sphinx https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66095042999
Pull Request Labeler on: pull_request_target https://github.com/matplotlib/matplotlib/actions/runs/22783222764
labeler https://github.com/matplotlib/matplotlib/actions/runs/22783222764/job/66093943703?pr=31012
Linting on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224009
precommit https://github.com/matplotlib/matplotlib/actions/runs/22783224009/job/66093946838?pr=31012
ruff https://github.com/matplotlib/matplotlib/actions/runs/22783224009/job/66093946832?pr=31012
mypy https://github.com/matplotlib/matplotlib/actions/runs/22783224009/job/66093946833?pr=31012
eslint https://github.com/matplotlib/matplotlib/actions/runs/22783224009/job/66093946829?pr=31012
Tests on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224014
Python 3.11 on ubuntu-22.04 (Minimum Versions) https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947083?pr=31012
Python 3.11 on ubuntu-22.04 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947075?pr=31012
Python 3.13 on ubuntu-22.04 (Extra TeX packages) https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947067?pr=31012
Python 3.13t on ubuntu-22.04 Free-threaded https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947054?pr=31012
Python 3.12 on ubuntu-24.04 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947057?pr=31012
Python 3.14 on ubuntu-24.04 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947073?pr=31012
Python 3.12 on ubuntu-24.04-arm https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947048?pr=31012
Python 3.11 on macos-14 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947082?pr=31012
Python 3.12 on macos-14 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947051?pr=31012
Python 3.13 on macos-15 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947064?pr=31012
Python 3.14 on macos-15 https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66093947078?pr=31012
Create issue on failure https://github.com/matplotlib/matplotlib/actions/runs/22783224014/job/66098746784?pr=31012
Build CI wheels on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224018
Build sdist https://github.com/matplotlib/matplotlib/actions/runs/22783224018/job/66093947145?pr=31012
Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }} https://github.com/matplotlib/matplotlib/actions/runs/22783224018/job/66093947535?pr=31012
Mypy Stubtest on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224020
mypy-stubtest https://github.com/matplotlib/matplotlib/actions/runs/22783224020/job/66093946972?pr=31012
CodeQL on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224030
Analyze (c-cpp) https://github.com/matplotlib/matplotlib/actions/runs/22783224030/job/66093946955?pr=31012
Analyze (javascript) https://github.com/matplotlib/matplotlib/actions/runs/22783224030/job/66093946963?pr=31012
Analyze (python) https://github.com/matplotlib/matplotlib/actions/runs/22783224030/job/66093946954?pr=31012
Do Not Merge on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224055
Prevent Merging https://github.com/matplotlib/matplotlib/actions/runs/22783224055/job/66093946947?pr=31012
PR cleanliness on: pull_request https://github.com/matplotlib/matplotlib/actions/runs/22783224066
pr_clean https://github.com/matplotlib/matplotlib/actions/runs/22783224066/job/66093946965?pr=31012
matplotlib.matplotlib https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66096919608
matplotlib.matplotlib (Check Skip) https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66094052060
matplotlib.matplotlib (Main Pytest Windows_py311) https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66096266868
matplotlib.matplotlib (Main Pytest Windows_py312) https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66096597022
matplotlib.matplotlib (Main Pytest Windows_py313) https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66096917636
CodeQL https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=66094056901
codecov/patch https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=79631340068
codecov/project/library https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=79631338688
codecov/project/tests https://github.com/matplotlib/matplotlib/pull/31012/checks?check_run_id=79631337080
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.