René's URL Explorer Experiment


Title: Performance degradation in 2.1.3 · Issue #605 · gitpython-developers/GitPython · GitHub

Open Graph Title: Performance degradation in 2.1.3 · Issue #605 · gitpython-developers/GitPython

X Title: Performance degradation in 2.1.3 · Issue #605 · gitpython-developers/GitPython

Description: Hi, The recent commit f1a82e4 has caused a significant performance degradation in the use of GitPython. As an example, one unit test that we have which performs operations on about 42 repositories normally runs in 6.7 seconds, but with t...

Open Graph Description: Hi, The recent commit f1a82e4 has caused a significant performance degradation in the use of GitPython. As an example, one unit test that we have which performs operations on about 42 repositories ...

X Description: Hi, The recent commit f1a82e4 has caused a significant performance degradation in the use of GitPython. As an example, one unit test that we have which performs operations on about 42 repositories ...

Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/605

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performance degradation in 2.1.3","articleBody":"Hi,\r\n\r\nThe recent commit f1a82e4 has caused a significant performance\r\ndegradation in the use of GitPython.  As an example, one unit\r\ntest that we have which performs operations on about 42\r\nrepositories normally runs in 6.7 seconds, but with the two new\r\ngc.collect() calls in f1a82e4 it now takes 24.2 seconds.\r\n\r\nThe gitdb.util.mman.collect() call does not seem to be expensive,\r\nonly gc.collect().\r\n\r\nIt's worth noting that most objects in python are freed by use of\r\nreference counting, while gc.collect() invokes the garbage\r\ncollector, which is only needed to free objects with reference\r\ncycles.  Normally, the garbage collector runs periodically and\r\ndoes not need to be explicitly invoked.\r\n\r\nSince the garbage collector should only be effective on objects\r\nwhich no longer have references from active frames, it's not\r\nclear why these two calls to gc.collect() are required.  It would\r\nbe nice to know if there are any other ways to address what they\r\nare attempting to fix.  If they truly are required in some\r\ncircumstances, it would be good to know what those are and if\r\nthere are cases where we do not need to invoke the expense.  And\r\nif they are not required, we should remove them.\r\n\r\nThanks!\r\n","author":{"url":"https://github.com/jeblair","@type":"Person","name":"jeblair"},"datePublished":"2017-03-08T18:54:59Z","url":"https://github.com/gitpython-developers/GitPython/issues/605"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c77f934a-5812-17be-a231-ce3011fa788a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE30A:2BB4ED:B787D3:FBB243:6B00AD2C
html-safe-nonce921524be52eb531f4a301ec256044f9716a6e594755b3551744272882ef4d42a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzBBOjJCQjRFRDpCNzg3RDM6RkJCMjQzOjZCMDBBRDJDIiwidmlzaXRvcl9pZCI6Ijc0NDY3NTI5NzU1MDQwNTk2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac852a13b01391a27e60a7e5d4ef8b0c37bb80e9fe3ab0ec07f741682e7b80ecdb
hovercard-subject-tagissue:212823486
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/605/issue_layout
twitter:imagehttps://opengraph.githubassets.com/11d68a5e170973ce6c6834de588affa7c687773e372e4960362e695853ce23a8/gitpython-developers/GitPython/issues/605
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/11d68a5e170973ce6c6834de588affa7c687773e372e4960362e695853ce23a8/gitpython-developers/GitPython/issues/605
og:image:altHi, The recent commit f1a82e4 has caused a significant performance degradation in the use of GitPython. As an example, one unit test that we have which performs operations on about 42 repositories ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeblair
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
turbo-cache-controlno-preview
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
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
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/issues/605#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F605
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fissues%2F605
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/issues/605
Reloadhttps://github.com/gitpython-developers/GitPython/issues/605
Reloadhttps://github.com/gitpython-developers/GitPython/issues/605
gitpython-developershttps://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Codehttps://github.com/gitpython-developers/GitPython
Issues1 (1)https://github.com/gitpython-developers/GitPython/issues
Pull requestshttps://github.com/gitpython-developers/GitPython/pulls
Discussionshttps://github.com/gitpython-developers/GitPython/discussions
Actionshttps://github.com/gitpython-developers/GitPython/actions
Security and quality42 (42)https://github.com/gitpython-developers/GitPython/security
Insightshttps://github.com/gitpython-developers/GitPython/insights
https://github.com/gitpython-developers/GitPython
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/605
New issuehttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/605
#686https://github.com/gitpython-developers/GitPython/pull/686
Performance degradation in 2.1.3https://github.com/gitpython-developers/GitPython/issues/605#top
#686https://github.com/gitpython-developers/GitPython/pull/686
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
tag.leakshttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22tag.leaks%22
https://github.com/jeblair
jeblairhttps://github.com/jeblair
on Mar 8, 2017https://github.com/gitpython-developers/GitPython/issues/605#issue-212823486
f1a82e4https://github.com/gitpython-developers/GitPython/commit/f1a82e45fc177cec8cffcfe3ff970560d272d0bf
f1a82e4https://github.com/gitpython-developers/GitPython/commit/f1a82e45fc177cec8cffcfe3ff970560d272d0bf
openstack-gerrithttps://github.com/openstack-gerrit
on Mar 8, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-992016814
Cap GitPython at 2.1.1 due to performance degradationhttps://github.com/openstack-infra/zuul/commit/dcafeb6038b96a0095976963814cc29f98520995
dcafeb6https://github.com/openstack-infra/zuul/commit/dcafeb6038b96a0095976963814cc29f98520995
jamielennoxhttps://github.com/jamielennox
on Mar 8, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-992236296
Cap GitPython at 2.1.1 due to performance degradationhttps://github.com/jamielennox/zuul/commit/08fb8d0859f8dbb672dcb8127ce3c1e6059a71e3
08fb8d0https://github.com/jamielennox/zuul/commit/08fb8d0859f8dbb672dcb8127ce3c1e6059a71e3
Cap GitPython at 2.1.1 due to performance degradationhttps://github.com/jamielennox/zuul/commit/6eb5cf8923875d633d7983e06e7732b44cea3c21
6eb5cf8https://github.com/jamielennox/zuul/commit/6eb5cf8923875d633d7983e06e7732b44cea3c21
openstack-gerrithttps://github.com/openstack-gerrit
on Mar 9, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-993439329
Updated openstack/openstackhttps://github.com/openstack/openstack/commit/3327d3c79a30adebd0c76dfbc735720dcbe25e5c
3327d3chttps://github.com/openstack/openstack/commit/3327d3c79a30adebd0c76dfbc735720dcbe25e5c
Cap GitPython at 2.1.1 due to performance degradationhttps://github.com/openstack-infra/zuul/commit/7b3f3be326702ca20b49c88267e37c6f831114e1
7b3f3behttps://github.com/openstack-infra/zuul/commit/7b3f3be326702ca20b49c88267e37c6f831114e1
sf-project-iohttps://github.com/sf-project-io
on Mar 13, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-996659947
zuul: pin GitPython <2.1.2https://github.com/redhat-cip/software-factory/commit/5a1118403b32184ca4260ff543e1a55e9f1f34f5
5a11184https://github.com/redhat-cip/software-factory/commit/5a1118403b32184ca4260ff543e1a55e9f1f34f5
ankostishttps://github.com/ankostis
tag.leakshttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22tag.leaks%22
on Mar 17, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1005311996
https://github.com/ankostis
ankostishttps://github.com/ankostis
on Mar 17, 2017https://github.com/gitpython-developers/GitPython/issues/605#issuecomment-287499037
tag.leakshttps://github.com/gitpython-developers/GitPython/issues?utf8=%E2%9C%93&q=label%3Atag.leaks%20
Byronhttps://github.com/Byron
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
on Apr 9, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1035478634
https://github.com/Byron
Byronhttps://github.com/Byron
on Apr 9, 2017https://github.com/gitpython-developers/GitPython/issues/605#issuecomment-292787903
@jeblairhttps://github.com/jeblair
@ankostishttps://github.com/ankostis
Byronhttps://github.com/Byron
waiting for feedbackhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22waiting%20for%20feedback%22
on Apr 9, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1035479695
https://github.com/ankostis
ankostishttps://github.com/ankostis
on Apr 12, 2017https://github.com/gitpython-developers/GitPython/issues/605#issuecomment-293532699
sf-project-iohttps://github.com/sf-project-io
on Apr 26, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1058638715
zuul: pin GitPython <2.1.2https://github.com/softwarefactory-project/sf-config/commit/b5e0eeee61bbc9bb6ce931a88fd9122639428e9d
b5e0eeehttps://github.com/softwarefactory-project/sf-config/commit/b5e0eeee61bbc9bb6ce931a88fd9122639428e9d
sf-project-iohttps://github.com/sf-project-io
on May 22, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1091550092
zuul: pin GitPython <2.1.2https://github.com/softwarefactory-project/sf-ci/commit/4c435ca1b19a27f3d95782a96040dfe7bd01a45d
4c435cahttps://github.com/softwarefactory-project/sf-ci/commit/4c435ca1b19a27f3d95782a96040dfe7bd01a45d
Byronhttps://github.com/Byron
waiting for feedbackhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22waiting%20for%20feedback%22
on Jun 10, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1118298807
Byronhttps://github.com/Byron
completedhttps://github.com/gitpython-developers/GitPython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#686https://github.com/gitpython-developers/GitPython/pull/686
on Nov 2, 2017https://github.com/gitpython-developers/GitPython/issues/605#event-1322414107
Sign up for freehttps://github.com/signup?return_to=https://github.com/gitpython-developers/GitPython/issues/605
Sign in to commenthttps://github.com/login?return_to=https://github.com/gitpython-developers/GitPython/issues/605
acknowledgedhttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22acknowledged%22
tag.leakshttps://github.com/gitpython-developers/GitPython/issues?q=state%3Aopen%20label%3A%22tag.leaks%22
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.