René's URL Explorer Experiment


Title: Wire intersection check expensive on DTV model · Issue #5999 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Wire intersection check expensive on DTV model · Issue #5999 · IfcOpenShell/IfcOpenShell

X Title: Wire intersection check expensive on DTV model · Issue #5999 · IfcOpenShell/IfcOpenShell

Description: This is basically the same issue as #4915 reopened but that one is getting kind of long and I was able to narrow it down due to the fantastic new builds website. Testing the rac.ifc file again with recent builds, it now takes 3.75 second...

Open Graph Description: This is basically the same issue as #4915 reopened but that one is getting kind of long and I was able to narrow it down due to the fantastic new builds website. Testing the rac.ifc file again with...

X Description: This is basically the same issue as #4915 reopened but that one is getting kind of long and I was able to narrow it down due to the fantastic new builds website. Testing the rac.ifc file again with...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5999

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wire intersection check expensive on DTV model","articleBody":"This is basically the same issue as #4915 reopened but that one is getting kind of long and I was able to narrow it down due to the fantastic new builds website.\n\nTesting the rac.ifc file again with recent builds, it now takes 3.75 seconds (compared to 1.1 in 0.7.0 and 0.72 before the regression).\n\nLatest good build is fc9bcb0 (taking about 0.7 to 0.8 seconds) and earliest bad build is a84a581 so I guess somewhere in `git log fc9bcb0..a84a581` something happened.\n\nHere are good stats:\n\n```\ncores: 1 cgal 4.010830801998964\ncores: 12 cgal 0.6871321169892326\ncores: 1 opencascade 6.205589167017024\ncores: 12 opencascade 1.124729254981503\ncores: 1 hybrid-cgal-simple-opencascade 5.121581318991957\ncores: 12 hybrid-cgal-simple-opencascade 1.0077503499924205\n```\n\n... and bad:\n\n```\ncores: 1 cgal 4.00005674600834\ncores: 12 cgal 0.6959928880096413\ncores: 1 opencascade 29.673849075014004\ncores: 12 opencascade 6.692519722011639\ncores: 1 hybrid-cgal-simple-opencascade 28.72333783499198\ncores: 12 hybrid-cgal-simple-opencascade 6.574400977988262\n```\n\nAnd test script:\n\n```python\nimport timeit, ifcopenshell, ifcopenshell.geom, ifcopenshell.ifcopenshell_wrapper\nimport multiprocessing\nprint(ifcopenshell.ifcopenshell_wrapper.version())\n# ifcopenshell.ifcopenshell_wrapper.turn_on_detailed_logging()\n\nfilepaths = [\n    r\"/home/dion/drive/ifcs/benchmark/racbasicsampleproject.ifc\"\n]\n\ndef test(f, geometry_library, core_count):\n    t = timeit.timeit(\n        lambda: list(\n            map(\n                lambda x: x.geometry.verts,\n                ifcopenshell.geom.iterate(ifcopenshell.geom.settings(), f, core_count, geometry_library=geometry_library),\n            )\n        ),\n        number=2,\n    )\n    print(f\"cores: {core_count}\", geometry_library, t)\n\nfor filepath in filepaths:\n    f = ifcopenshell.open(filepath)\n    print(filepath)\n    cpu_count = multiprocessing.cpu_count()\n    test(f, \"cgal\", 1)\n    f = ifcopenshell.open(filepath)\n    test(f, \"cgal\", cpu_count)\n    f = ifcopenshell.open(filepath)\n    test(f, \"opencascade\", 1)\n    f = ifcopenshell.open(filepath)\n    test(f, \"opencascade\", cpu_count)\n    f = ifcopenshell.open(filepath)\n    test(f, \"hybrid-cgal-simple-opencascade\", 1)\n    f = ifcopenshell.open(filepath)\n    test(f, \"hybrid-cgal-simple-opencascade\", cpu_count)\n```\n","author":{"url":"https://github.com/Moult","@type":"Person","name":"Moult"},"datePublished":"2025-01-20T01:14:05Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5999"}

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:3b2b4554-b6cf-b39e-b61b-3642ed841895
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7B0:375B4B:7AC580:A95C7F:6B04AB7F
html-safe-noncea431cb0e25f3da43c87ac5637c91a7141780353c6779cb4f223ba818da1ba9ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0IwOjM3NUI0Qjo3QUM1ODA6QTk1QzdGOjZCMDRBQjdGIiwidmlzaXRvcl9pZCI6IjI5MzAwNDUwMzA2MzcwMjIwNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac702937f3f00b289ed85065d239fc80e18e94e4021c17698f21c73a3599d6d050
hovercard-subject-tagissue:2797958200
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/IfcOpenShell/IfcOpenShell/5999/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a3c710486bffcf46827ffed6c5970c38e031635c9ca8345aa2dc8087e81b3763/IfcOpenShell/IfcOpenShell/issues/5999
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3c710486bffcf46827ffed6c5970c38e031635c9ca8345aa2dc8087e81b3763/IfcOpenShell/IfcOpenShell/issues/5999
og:image:altThis is basically the same issue as #4915 reopened but that one is getting kind of long and I was able to narrow it down due to the fantastic new builds website. Testing the rac.ifc file again with...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMoult
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/5999#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F5999
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%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F5999
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=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5999
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5999
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5999
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
#8461https://github.com/IfcOpenShell/IfcOpenShell/pull/8461
Wire intersection check expensive on DTV modelhttps://github.com/IfcOpenShell/IfcOpenShell/issues/5999#top
#8461https://github.com/IfcOpenShell/IfcOpenShell/pull/8461
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
Severity:Minorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMinor%22
https://github.com/Moult
Moulthttps://github.com/Moult
on Jan 20, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#issue-2797958200
#4915https://github.com/IfcOpenShell/IfcOpenShell/issues/4915
fc9bcb0https://github.com/IfcOpenShell/IfcOpenShell/commit/fc9bcb0b82acca979d72eed2ba3aeb95739b8a0e
a84a581https://github.com/IfcOpenShell/IfcOpenShell/commit/a84a5815d614925d029a5656045d690b6ab61280
Moulthttps://github.com/Moult
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
on Jan 20, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-15990458437
Moulthttps://github.com/Moult
on Jan 20, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-15990465585
See #5999. Revert to older bot build before speed regression.https://github.com/IfcOpenShell/IfcOpenShell/commit/a65aa92c870696b20192e74fc15255b3bdfd302a
#5999https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
a65aa92https://github.com/IfcOpenShell/IfcOpenShell/commit/a65aa92c870696b20192e74fc15255b3bdfd302a
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 23, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#issuecomment-2609902462
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 23, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#issuecomment-2609996483
https://github.com/aothms
aothmshttps://github.com/aothms
on Jan 23, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#issuecomment-2610000539
aothmshttps://github.com/aothms
on Jan 23, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-16045029135
Moulthttps://github.com/Moult
on Jan 23, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-16050966893
Workaround for speed regression in advanced brep models. See #5999.https://github.com/IfcOpenShell/IfcOpenShell/commit/03bd34d98c62b847a6cb28d7930c65aedbb48d72
#5999https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
03bd34dhttps://github.com/IfcOpenShell/IfcOpenShell/commit/03bd34d98c62b847a6cb28d7930c65aedbb48d72
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Feb 6, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#issuecomment-2639876204
https://community.osarch.org/discussion/2717/issues-with-ifc-import-in-blender-missing-elements-ornamentshttps://community.osarch.org/discussion/2717/issues-with-ifc-import-in-blender-missing-elements-ornaments
https://docs.google.com/forms/d/1CVVw98Sb5GDZZb4NYjdCrg3JLpREzSSes2Xgq0Bt5I0/edit#question=219185856&field=1748926078https://docs.google.com/forms/d/1CVVw98Sb5GDZZb4NYjdCrg3JLpREzSSes2Xgq0Bt5I0/edit#question=219185856&field=1748926078
IfcOpenShell/src/bonsai/bonsai/tool/loader.pyhttps://github.com/IfcOpenShell/IfcOpenShell/blob/38e6f09c9150f82d4061aeaaa5227e03d609d5d0/src/bonsai/bonsai/tool/loader.py#L651-L661
38e6f09https://github.com/IfcOpenShell/IfcOpenShell/commit/38e6f09c9150f82d4061aeaaa5227e03d609d5d0
IfcOpenShell/src/bonsai/bonsai/tool/geometry.pyhttps://github.com/IfcOpenShell/IfcOpenShell/blob/38e6f09c9150f82d4061aeaaa5227e03d609d5d0/src/bonsai/bonsai/tool/geometry.py#L772-L777
38e6f09https://github.com/IfcOpenShell/IfcOpenShell/commit/38e6f09c9150f82d4061aeaaa5227e03d609d5d0
Moulthttps://github.com/Moult
Severity:Minorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMinor%22
on Mar 20, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-23750886798
petruconduraruhttps://github.com/petruconduraru
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
on Jul 10, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-27819676730
petruconduraruhttps://github.com/petruconduraru
on Aug 18, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-29596668708
ifcgeom: bounding-box broad-phase for the wire self-intersection check (https://github.com/BIMvoice/IfcOpenShell/commit/d2c287421617d69abbf64cc178e30e86935830f1
d2c2874https://github.com/BIMvoice/IfcOpenShell/commit/d2c287421617d69abbf64cc178e30e86935830f1
petruconduraruhttps://github.com/petruconduraru
on Oct 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/5999#event-32310940793
Add a broad-phase to the wire intersection checkhttps://github.com/BIMvoice/IfcOpenShell/commit/d47cc472545eab14f2c3e9099f84b071a835abbe
d47cc47https://github.com/BIMvoice/IfcOpenShell/commit/d47cc472545eab14f2c3e9099f84b071a835abbe
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/5999
IfcOpenShell-Corehttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Core%22
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
Severity:Minorhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMinor%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.