René's URL Explorer Experiment


Title: Reduce framework size by flimsyhat · Pull Request #78 · plotdevice/plotdevice · GitHub

Open Graph Title: Reduce framework size by flimsyhat · Pull Request #78 · plotdevice/plotdevice

X Title: Reduce framework size by flimsyhat · Pull Request #78 · plotdevice/plotdevice

Description: The PR proposes slimming down final app size by (1) reducing the size of the bundled python framework and (2) only importing the essential frameworks from PyObjC. Optimizing bundled python framework By removing the test suite, gui frameworks and other unnecessary modules from the stdlib, we can save ~32MB. We can shave off another ~19MB by removing the cache dirs (this does mean that python needs to rebuild the cache on startup, but this should only add a few seconds the first time PlotDevice is opened). Total change: 204.7MB → 154.0MB, a savings of 50.7MB (24.8%). Selective PyObjC imports By only importing what we use from PyObjC, we go from 35.1MB (full PyObjC) to 19.5MB, a savings of 15.6MB (44.4%). After testing, this results in a final app bundle of ~115MB, down from ~172MB (~57MB or 33% saved).

Open Graph Description: The PR proposes slimming down final app size by (1) reducing the size of the bundled python framework and (2) only importing the essential frameworks from PyObjC. Optimizing bundled python framewor...

X Description: The PR proposes slimming down final app size by (1) reducing the size of the bundled python framework and (2) only importing the essential frameworks from PyObjC. Optimizing bundled python framewor...

Opengraph URL: https://github.com/plotdevice/plotdevice/pull/78

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:25dfc715-7bb8-c5c4-a5fe-79cdd7e5473b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC36E:2F21B4:BD1F0D:F517DA:696B2846
html-safe-nonce957bad2a62e62876d5da41578b7cdd8ba93cb4e7fbd2f0c95700ad3bf24ccb86
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzZFOjJGMjFCNDpCRDFGMEQ6RjUxN0RBOjY5NkIyODQ2IiwidmlzaXRvcl9pZCI6IjY2OTY4NzIwNjgyNDg0NzQzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac97d19a210fab5bd1b26e73efd21bfd67d25345cd7da3b28398553af6acc62a6f
hovercard-subject-tagpull_request:2562940928
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/plotdevice/plotdevice/pull/78/files
twitter:imagehttps://avatars.githubusercontent.com/u/4822251?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4822251?s=400&v=4
og:image:altThe PR proposes slimming down final app size by (1) reducing the size of the bundled python framework and (2) only importing the essential frameworks from PyObjC. Optimizing bundled python framewor...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/plotdevice/plotdevice git https://github.com/plotdevice/plotdevice.git
octolytics-dimension-user_id6814325
octolytics-dimension-user_loginplotdevice
octolytics-dimension-repository_id14907048
octolytics-dimension-repository_nwoplotdevice/plotdevice
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14907048
octolytics-dimension-repository_network_root_nwoplotdevice/plotdevice
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotdevice/plotdevice/pull/78/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotdevice%2Fplotdevice%2Fpull%2F78%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fplotdevice%2Fplotdevice%2Fpull%2F78%2Ffiles
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%2Ffiles&source=header-repo&source_repo=plotdevice%2Fplotdevice
Reloadhttps://github.com/plotdevice/plotdevice/pull/78/files
Reloadhttps://github.com/plotdevice/plotdevice/pull/78/files
Reloadhttps://github.com/plotdevice/plotdevice/pull/78/files
plotdevice https://github.com/plotdevice
plotdevicehttps://github.com/plotdevice/plotdevice
Notifications https://github.com/login?return_to=%2Fplotdevice%2Fplotdevice
Fork 22 https://github.com/login?return_to=%2Fplotdevice%2Fplotdevice
Star 296 https://github.com/login?return_to=%2Fplotdevice%2Fplotdevice
Code https://github.com/plotdevice/plotdevice
Issues 10 https://github.com/plotdevice/plotdevice/issues
Pull requests 2 https://github.com/plotdevice/plotdevice/pulls
Discussions https://github.com/plotdevice/plotdevice/discussions
Actions https://github.com/plotdevice/plotdevice/actions
Projects 0 https://github.com/plotdevice/plotdevice/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/plotdevice/plotdevice/security
Please reload this pagehttps://github.com/plotdevice/plotdevice/pull/78/files
Insights https://github.com/plotdevice/plotdevice/pulse
Code https://github.com/plotdevice/plotdevice
Issues https://github.com/plotdevice/plotdevice/issues
Pull requests https://github.com/plotdevice/plotdevice/pulls
Discussions https://github.com/plotdevice/plotdevice/discussions
Actions https://github.com/plotdevice/plotdevice/actions
Projects https://github.com/plotdevice/plotdevice/projects
Security https://github.com/plotdevice/plotdevice/security
Insights https://github.com/plotdevice/plotdevice/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fplotdevice%2Fplotdevice%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fplotdevice%2Fplotdevice%2Fissues%2Fnew%2Fchoose
flimsyhathttps://github.com/flimsyhat
plotdevice:mainhttps://github.com/plotdevice/plotdevice/tree/main
flimsyhat:reduce-framework-sizehttps://github.com/flimsyhat/plotdevice/tree/reduce-framework-size
Conversation 2 https://github.com/plotdevice/plotdevice/pull/78
Commits 2 https://github.com/plotdevice/plotdevice/pull/78/commits
Checks 1 https://github.com/plotdevice/plotdevice/pull/78/checks
Files changed https://github.com/plotdevice/plotdevice/pull/78/files
Please reload this pagehttps://github.com/plotdevice/plotdevice/pull/78/files
Reduce framework size https://github.com/plotdevice/plotdevice/pull/78/files#top
Show all changes 2 commits https://github.com/plotdevice/plotdevice/pull/78/files
bd95343 reduce framework size flimsyhat Jun 2, 2025 https://github.com/plotdevice/plotdevice/pull/78/commits/bd953438811f53f780ae390bbf2ae62df9665b53
f3bf4f5 only import essential pyobjc frameworks flimsyhat Jun 2, 2025 https://github.com/plotdevice/plotdevice/pull/78/commits/f3bf4f52a8dd184118e4eb633c6f0085d4ceaaee
Clear filters https://github.com/plotdevice/plotdevice/pull/78/files
Please reload this pagehttps://github.com/plotdevice/plotdevice/pull/78/files
Please reload this pagehttps://github.com/plotdevice/plotdevice/pull/78/files
Makefile https://github.com/plotdevice/plotdevice/pull/78/files#diff-10b29e8febda8a6598a64cf51c3466dd3bd6c7661e49752b8e4d29a126341044
reduce_framework_size.py https://github.com/plotdevice/plotdevice/pull/78/files#diff-656cbd319afac4fc6d5011d930bcdbbc53df7604dd5351adf15b27f6e856654e
requirements.txt https://github.com/plotdevice/plotdevice/pull/78/files#diff-b807cc53da856a42da128549bc05c167ebf0c054e5d8fcd1c9a895f3227d885f
deps/frameworks/Makefilehttps://github.com/plotdevice/plotdevice/pull/78/files#diff-10b29e8febda8a6598a64cf51c3466dd3bd6c7661e49752b8e4d29a126341044
View file https://github.com/plotdevice/plotdevice/blob/f3bf4f52a8dd184118e4eb633c6f0085d4ceaaee/deps/frameworks/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotdevice/plotdevice/pull/78/{{ revealButtonHref }}
https://github.com/plotdevice/plotdevice/pull/78/files#diff-10b29e8febda8a6598a64cf51c3466dd3bd6c7661e49752b8e4d29a126341044
https://github.com/plotdevice/plotdevice/pull/78/files#diff-10b29e8febda8a6598a64cf51c3466dd3bd6c7661e49752b8e4d29a126341044
deps/frameworks/reduce_framework_size.pyhttps://github.com/plotdevice/plotdevice/pull/78/files#diff-656cbd319afac4fc6d5011d930bcdbbc53df7604dd5351adf15b27f6e856654e
View file https://github.com/plotdevice/plotdevice/blob/f3bf4f52a8dd184118e4eb633c6f0085d4ceaaee/deps/frameworks/reduce_framework_size.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotdevice/plotdevice/pull/78/{{ revealButtonHref }}
deps/frameworks/requirements.txthttps://github.com/plotdevice/plotdevice/pull/78/files#diff-b807cc53da856a42da128549bc05c167ebf0c054e5d8fcd1c9a895f3227d885f
View file https://github.com/plotdevice/plotdevice/blob/f3bf4f52a8dd184118e4eb633c6f0085d4ceaaee/deps/frameworks/requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotdevice/plotdevice/pull/78/{{ revealButtonHref }}
https://github.com/plotdevice/plotdevice/pull/78/files#diff-b807cc53da856a42da128549bc05c167ebf0c054e5d8fcd1c9a895f3227d885f
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.