René's URL Explorer Experiment


Title: Improve performance for large models with DomainViewDict by paulromano · Pull Request #138 · openmc-dev/plotter · GitHub

Open Graph Title: Improve performance for large models with DomainViewDict by paulromano · Pull Request #138 · openmc-dev/plotter

X Title: Improve performance for large models with DomainViewDict by paulromano · Pull Request #138 · openmc-dev/plotter

Description: Native plotting GUI for model design and verification - Improve performance for large models with DomainViewDict by paulromano · Pull Request #138 · openmc-dev/plotter

Open Graph Description: If you run the plotter on a model with lots of cells (the ITER E-lite model, for example), it spends a lot of time copying data around unnecessarily. The crux of the issue is this line: ...

X Description: If you run the plotter on a model with lots of cells (the ITER E-lite model, for example), it spends a lot of time copying data around unnecessarily. The crux of the issue is this line: ...

Opengraph URL: https://github.com/openmc-dev/plotter/pull/138

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a2fc42fd-b735-24ba-86ed-b7c2e1c7c3cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA008:33952:51A1A29:7333F34:6A4FE714
html-safe-nonce6cab690e8a73f8070d21b33363979be1c3edb892a58615710c7fa7bfe378be6f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDA4OjMzOTUyOjUxQTFBMjk6NzMzM0YzNDo2QTRGRTcxNCIsInZpc2l0b3JfaWQiOiI5ODE5NTk0NDQxMTQ5NTgxMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc7203dfadb3076945478db0544ba4b48b3936324da5ea770473a90aedf338be8
hovercard-subject-tagpull_request:1790026786
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/openmc-dev/plotter/138/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/06d99596e73bf66afb5681d755c02cbfcc8eec37de071d909024308cc707e6b9/openmc-dev/plotter/pull/138
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/06d99596e73bf66afb5681d755c02cbfcc8eec37de071d909024308cc707e6b9/openmc-dev/plotter/pull/138
og:image:altIf you run the plotter on a model with lots of cells (the ITER E-lite model, for example), it spends a lot of time copying data around unnecessarily. The crux of the issue is this line: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepaulromano
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-cache
go-importgithub.com/openmc-dev/plotter git https://github.com/openmc-dev/plotter.git
octolytics-dimension-user_id42039615
octolytics-dimension-user_loginopenmc-dev
octolytics-dimension-repository_id176784178
octolytics-dimension-repository_nwoopenmc-dev/plotter
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id176784178
octolytics-dimension-repository_network_root_nwoopenmc-dev/plotter
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
release142593e66413bbae27fd485859993597d5a3b104
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openmc-dev/plotter/pull/138#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenmc-dev%2Fplotter%2Fpull%2F138
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%2Fopenmc-dev%2Fplotter%2Fpull%2F138
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=openmc-dev%2Fplotter
Reloadhttps://github.com/openmc-dev/plotter/pull/138
Reloadhttps://github.com/openmc-dev/plotter/pull/138
Reloadhttps://github.com/openmc-dev/plotter/pull/138
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
openmc-dev https://github.com/openmc-dev
plotterhttps://github.com/openmc-dev/plotter
Notifications https://github.com/login?return_to=%2Fopenmc-dev%2Fplotter
Fork 25 https://github.com/login?return_to=%2Fopenmc-dev%2Fplotter
Star 73 https://github.com/login?return_to=%2Fopenmc-dev%2Fplotter
Code https://github.com/openmc-dev/plotter
Issues 26 https://github.com/openmc-dev/plotter/issues
Pull requests 3 https://github.com/openmc-dev/plotter/pulls
Actions https://github.com/openmc-dev/plotter/actions
Projects https://github.com/openmc-dev/plotter/projects
Security and quality 0 https://github.com/openmc-dev/plotter/security
Insights https://github.com/openmc-dev/plotter/pulse
Code https://github.com/openmc-dev/plotter
Issues https://github.com/openmc-dev/plotter/issues
Pull requests https://github.com/openmc-dev/plotter/pulls
Actions https://github.com/openmc-dev/plotter/actions
Projects https://github.com/openmc-dev/plotter/projects
Security and quality https://github.com/openmc-dev/plotter/security
Insights https://github.com/openmc-dev/plotter/pulse
pshriwisehttps://github.com/pshriwise
openmc-dev:develophttps://github.com/openmc-dev/plotter/tree/develop
paulromano:global-domainviewhttps://github.com/paulromano/plotter/tree/global-domainview
Conversationhttps://github.com/openmc-dev/plotter/pull/138
Commits5 (5)https://github.com/openmc-dev/plotter/pull/138/commits
Checkshttps://github.com/openmc-dev/plotter/pull/138/checks
Files changedhttps://github.com/openmc-dev/plotter/pull/138/files
Improve performance for large models with DomainViewDicthttps://github.com/openmc-dev/plotter/pull/138#top
pshriwisehttps://github.com/pshriwise
openmc-dev:develophttps://github.com/openmc-dev/plotter/tree/develop
paulromano:global-domainviewhttps://github.com/paulromano/plotter/tree/global-domainview
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 25, 2024https://github.com/openmc-dev/plotter/pull/138#issue-2206423168
plotter/openmc_plotter/plotmodel.pyhttps://github.com/openmc-dev/plotter/blob/e772fb9ba55532ea984c4eb529c7fbf2982268f0/openmc_plotter/plotmodel.py#L321
e772fb9https://github.com/openmc-dev/plotter/commit/e772fb9ba55532ea984c4eb529c7fbf2982268f0
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
Implement DomainViewDict to reduce PlotView sizehttps://github.com/openmc-dev/plotter/pull/138/commits/c8ec2b75049c5f527a5139c27423cfc7a4476429
c8ec2b7https://github.com/openmc-dev/plotter/pull/138/commits/c8ec2b75049c5f527a5139c27423cfc7a4476429
https://github.com/paulromano
paulromanohttps://github.com/paulromano
pshriwisehttps://github.com/pshriwise
March 25, 2024 18:36https://github.com/openmc-dev/plotter/pull/138#event-12238951898
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 25, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2018669819
https://private-user-images.githubusercontent.com/743095/316616297-0e7d7973-7c2c-42db-9ae9-8fb6568703e4.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2MjE2OTYsIm5iZiI6MTc4MzYyMTM5NiwicGF0aCI6Ii83NDMwOTUvMzE2NjE2Mjk3LTBlN2Q3OTczLTdjMmMtNDJkYi05YWU5LThmYjY1Njg3MDNlNC5naWY_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwOVQxODIzMTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNDZmYzIzN2ZmNTRkOTgxM2E4NmY2MjliNGU2Yzc2NTFkYTZkNjVmZGFjNTQ0NDA0OTkwZjI1ODVmZmI5ZjIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZnaWYifQ.fhxraj_0LADZX80DLSS3fj_AJEOBj1i2u-CIxTBISCE
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
Improve performance of random color samplinghttps://github.com/openmc-dev/plotter/pull/138/commits/5a2fb1f5d084af49b0614ca37d8ca67656de80f2
5a2fb1fhttps://github.com/openmc-dev/plotter/pull/138/commits/5a2fb1f5d084af49b0614ca37d8ca67656de80f2
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 27, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2021929351
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
More speedup of getDomains staticmethodhttps://github.com/openmc-dev/plotter/pull/138/commits/8cb062d9f9b18e6c370d71b254ded9867dc83af9
8cb062dhttps://github.com/openmc-dev/plotter/pull/138/commits/8cb062d9f9b18e6c370d71b254ded9867dc83af9
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 27, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2022915183
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Mar 27, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2023029200
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 28, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2024381092
@pshriwisehttps://github.com/pshriwise
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Mar 28, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2024396707
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
@pshriwisehttps://github.com/pshriwise
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
Avoid global dictionaries and instead implement custom deepcopy for D…https://github.com/openmc-dev/plotter/pull/138/commits/09ec18c9a20f235434033d9c0ed295de2488f9fe
09ec18chttps://github.com/openmc-dev/plotter/pull/138/commits/09ec18c9a20f235434033d9c0ed295de2488f9fe
https://github.com/paulromano
paulromanohttps://github.com/paulromano
Mar 30, 2024https://github.com/openmc-dev/plotter/pull/138#issuecomment-2028007129
@pshriwisehttps://github.com/pshriwise
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Mar 31, 2024 https://github.com/openmc-dev/plotter/pull/138#pullrequestreview-1970355253
View reviewed changes https://github.com/openmc-dev/plotter/pull/138/files/09ec18c9a20f235434033d9c0ed295de2488f9fe
pshriwisehttps://github.com/pshriwise
https://github.com/openmc-dev/plotter/pull/138#pullrequestreview-1970355253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
openmc_plotter/plotmodel.pyhttps://github.com/openmc-dev/plotter/pull/138/files/09ec18c9a20f235434033d9c0ed295de2488f9fe#diff-fb88459f7c5a855933ac8241cb6fa5c3da93c4be09ad74a78914f7ad20700749
pshriwisehttps://github.com/pshriwise
Mar 31, 2024https://github.com/openmc-dev/plotter/pull/138#discussion_r1545753398
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
pshriwisehttps://github.com/pshriwise
Mar 31, 2024https://github.com/openmc-dev/plotter/pull/138#discussion_r1545756410
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
paulromanohttps://github.com/paulromano
Apr 2, 2024https://github.com/openmc-dev/plotter/pull/138#discussion_r1547993115
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
pshriwisehttps://github.com/pshriwise
Apr 2, 2024https://github.com/openmc-dev/plotter/pull/138#discussion_r1548008427
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#139https://github.com/openmc-dev/plotter/issues/139
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Mar 31, 2024 https://github.com/openmc-dev/plotter/pull/138#ref-issue-2217113040
Set initial number of pixels from command line #139 https://github.com/openmc-dev/plotter/issues/139
https://github.com/paulromano
Revert default resolution to 1000x1000https://github.com/openmc-dev/plotter/pull/138/commits/e3b94adf6cf2c85ff79179f3a26edc26bcb1d7dc
e3b94adhttps://github.com/openmc-dev/plotter/pull/138/commits/e3b94adf6cf2c85ff79179f3a26edc26bcb1d7dc
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Apr 2, 2024 https://github.com/openmc-dev/plotter/pull/138#pullrequestreview-1974018183
View reviewed changes https://github.com/openmc-dev/plotter/pull/138/files/e3b94adf6cf2c85ff79179f3a26edc26bcb1d7dc
pshriwisehttps://github.com/pshriwise
https://github.com/openmc-dev/plotter/pull/138#pullrequestreview-1974018183
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@paulromanohttps://github.com/paulromano
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
8aa5067https://github.com/openmc-dev/plotter/commit/8aa5067f8911ade5e43f4cce4a64b41fed8db2af
Apr 2, 2024https://github.com/openmc-dev/plotter/pull/138#event-12327011827
https://github.com/paulromano
paulromanohttps://github.com/paulromano
April 5, 2024 07:23https://github.com/openmc-dev/plotter/pull/138#event-12369152716
https://github.com/pshriwise
pshriwisehttps://github.com/pshriwise
Apr 26, 2024 https://github.com/openmc-dev/plotter/pull/138#ref-pullrequest-2220752022
Allow user to change default resolution from command line #140 https://github.com/openmc-dev/plotter/pull/140
https://github.com/paulromano
paulromanohttps://github.com/paulromano
May 4, 2024 https://github.com/openmc-dev/plotter/pull/138#ref-pullrequest-2279205037
Fix cell/material tab in color options dialog #143 https://github.com/openmc-dev/plotter/pull/143
https://github.co/hiddenchars
https://github.com/openmc-dev/plotter/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenmc-dev%2Fplotter%2Fpull%2F138
https://github.com/pshriwise
pshriwise https://github.com/pshriwise
https://github.com/openmc-dev/plotter/pull/138/files/e3b94adf6cf2c85ff79179f3a26edc26bcb1d7dc
Please reload this pagehttps://github.com/openmc-dev/plotter/pull/138
https://github.com/paulromano
https://github.com/pshriwise
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.