René's URL Explorer Experiment


Title: perf(icons): reduce and guard SVG path precision by j15z · Pull Request #6839 · simstudioai/sim · GitHub

Open Graph Title: perf(icons): reduce and guard SVG path precision by j15z · Pull Request #6839 · simstudioai/sim

X Title: perf(icons): reduce and guard SVG path precision by j15z · Pull Request #6839 · simstudioai/sim

Description: Summary Reusable icon SVGs now ship without invisible coordinate precision, and CI prevents that byte cost from returning. Literal icon paths are limited to three decimal places across 180 scoped files, with a reasoned path-local exception available when rounding would visibly change geometry. The Sim wordmark remains byte-for-byte unchanged and is the sole remaining React Doctor SVG precision finding. The Quartr pattern also keeps its exact 1/280 scale because rounding that structural transform would hide the image. Metric staging This PR Literal icon paths above three decimals 252 0 Raw source across the eight changed icon files 1,608,775 bytes 1,563,995 bytes (-44,780) Whole-file gzip proxy 666,826 bytes 642,847 bytes (-23,979) React Doctor SVG precision findings 8 in the original sweep 1 untouched wordmark The gzip measurement compares source files, not production bundles; final download savings depend on bundling and tree-shaking. Type of Change Bug fix New feature Breaking change Documentation Other: Performance improvement and CI guardrail Testing bun run test:icon-path-precision: 6 tests passed, covering the three-decimal boundary, scientific notation, literal JSX forms, and the reasoned exception contract bun run check:audits: all 31 repository audits passed, including icon path syntax, SVG precision, generated docs, API validation, and monorepo boundaries bun run type-check passed in apps/sim, apps/docs, and packages/emcn bunx react-doctor@latest --verbose: 3,449 total existing findings; rendering-svg-precision reports only the untouched OG wordmark Before/after rendering was inspected at identical viewport and display sizes for all eight changed icon files Reviewers should focus on whether the three-decimal boundary and path-local exception are appropriate for reusable icons. The check intentionally excludes transforms, view boxes, dynamic path expressions, and page-specific artwork. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Screenshots/Videos

Open Graph Description: Summary Reusable icon SVGs now ship without invisible coordinate precision, and CI prevents that byte cost from returning. Literal icon paths are limited to three decimal places across 180 scoped f...

X Description: Summary Reusable icon SVGs now ship without invisible coordinate precision, and CI prevents that byte cost from returning. Literal icon paths are limited to three decimal places across 180 scoped f...

Opengraph URL: https://github.com/simstudioai/sim/pull/6839

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0961b064-6348-b48d-c482-1b885b2d8ebe
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDE8:2FF5E0:158077A:1D5F0BC:6AFB79DD
html-safe-nonce03047adda9249d9d46b4631c58662ecf074ab512f1b018b9fee9ed25a037cce8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREU4OjJGRjVFMDoxNTgwNzdBOjFENUYwQkM6NkFGQjc5REQiLCJ2aXNpdG9yX2lkIjoiODI0NTU2Nzk1NTcwMjM0ODI1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac63f79fde96b84d158b65609bc79c1398acbb8e541135b1911593374a638d6763
hovercard-subject-tagpull_request:4310232098
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/simstudioai/sim/pull/6839/files
twitter:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/96924014?s=400&v=4
og:image:altSummary Reusable icon SVGs now ship without invisible coordinate precision, and CI prevents that byte cost from returning. Literal icon paths are limited to three decimal places across 180 scoped f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6839/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6839%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F6839%2Ffiles
Sign uphttps://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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6839/files
Reloadhttps://github.com/simstudioai/sim/pull/6839/files
Reloadhttps://github.com/simstudioai/sim/pull/6839/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
perf/react-doctor-svg-precisionhttps://github.com/simstudioai/sim/tree/perf/react-doctor-svg-precision
Conversation 5 https://github.com/simstudioai/sim/pull/6839
Commits 6 https://github.com/simstudioai/sim/pull/6839/commits
Checks 36 https://github.com/simstudioai/sim/pull/6839/checks
Files changed https://github.com/simstudioai/sim/pull/6839/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
perf(icons): reduce and guard SVG path precision https://github.com/simstudioai/sim/pull/6839/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/6839/files
53b5c2f perf(react): reduce SVG path precision j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6839/commits/53b5c2f808f5f6ec1e2aaebb1e9749cd21016d68
86c3590 fix(react): preserve Sim wordmark precision j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6839/commits/86c3590b440cf0af0fcae85285768607c6a43050
0fa7c77 fix(icons): preserve Quartr scale j15z Aug 19, 2026 https://github.com/simstudioai/sim/pull/6839/commits/0fa7c77c169ddad15255468da1c4fd657da123a8
7de9cbb test(icons): ratchet SVG path precision j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6839/commits/7de9cbb17c9145a2623df0910005e3618de13a68
9ac5bbe fix(icons): make precision exceptions local j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6839/commits/9ac5bbeab29c307045b07e24aa17229b40428b3d
61a843a perf(icons): enforce three-decimal paths j15z Aug 20, 2026 https://github.com/simstudioai/sim/pull/6839/commits/61a843a49f78fa9b167c8f5bc369ff6dce3336fe
Clear filters https://github.com/simstudioai/sim/pull/6839/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
icons.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
icons.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
package.json https://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
bubble-chat-delay.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-8f86c178f46c025866316eb6eb75f4dff5a1d9f4afc54fd47c0f71df7c7413e1
document-attachment.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-0e97b474829929152e5e6959d26dfdde69f54b42c4c65bcf525aedc213748a70
download.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-e2394b6e129c77332dd4cb53ed70748b1fd0c2be912d85a8685aed199f73ac23
duplicate.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-51cda55fb6a29e73e28de2b2301fce26de497459800c176b7402842ed4ca61cf
mic.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-f9249b9857c637aa28ec7737b007573fb6a027e94f8391253a21e2b903ce7d23
upload.tsx https://github.com/simstudioai/sim/pull/6839/files#diff-bbe6ffa4bb7973ec2d769a319989b274794e04275ff90961ed52978dc4df232c
check-icon-path-precision.test.ts https://github.com/simstudioai/sim/pull/6839/files#diff-77a116aebbfa6c6ffb038be29dd6ba53a46610f3fcd4c244e7cde28ce2ab47fa
check-icon-path-precision.ts https://github.com/simstudioai/sim/pull/6839/files#diff-fbdbec3a906a147e253d6ec4ba9c2e924c427a92bca9929f10d8d5fbdd69f84a
apps/docs/components/icons.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/apps/docs/components/icons.tsx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
apps/sim/components/icons.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/apps/sim/components/icons.tsx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
package.jsonhttps://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/6839/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
packages/emcn/src/icons/bubble-chat-delay.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-8f86c178f46c025866316eb6eb75f4dff5a1d9f4afc54fd47c0f71df7c7413e1
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/bubble-chat-delay.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-8f86c178f46c025866316eb6eb75f4dff5a1d9f4afc54fd47c0f71df7c7413e1
https://github.com/simstudioai/sim/pull/6839/files#diff-8f86c178f46c025866316eb6eb75f4dff5a1d9f4afc54fd47c0f71df7c7413e1
packages/emcn/src/icons/document-attachment.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-0e97b474829929152e5e6959d26dfdde69f54b42c4c65bcf525aedc213748a70
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/document-attachment.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-0e97b474829929152e5e6959d26dfdde69f54b42c4c65bcf525aedc213748a70
https://github.com/simstudioai/sim/pull/6839/files#diff-0e97b474829929152e5e6959d26dfdde69f54b42c4c65bcf525aedc213748a70
packages/emcn/src/icons/download.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-e2394b6e129c77332dd4cb53ed70748b1fd0c2be912d85a8685aed199f73ac23
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/download.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-e2394b6e129c77332dd4cb53ed70748b1fd0c2be912d85a8685aed199f73ac23
https://github.com/simstudioai/sim/pull/6839/files#diff-e2394b6e129c77332dd4cb53ed70748b1fd0c2be912d85a8685aed199f73ac23
packages/emcn/src/icons/duplicate.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-51cda55fb6a29e73e28de2b2301fce26de497459800c176b7402842ed4ca61cf
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/duplicate.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-51cda55fb6a29e73e28de2b2301fce26de497459800c176b7402842ed4ca61cf
https://github.com/simstudioai/sim/pull/6839/files#diff-51cda55fb6a29e73e28de2b2301fce26de497459800c176b7402842ed4ca61cf
packages/emcn/src/icons/mic.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-f9249b9857c637aa28ec7737b007573fb6a027e94f8391253a21e2b903ce7d23
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/mic.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-f9249b9857c637aa28ec7737b007573fb6a027e94f8391253a21e2b903ce7d23
https://github.com/simstudioai/sim/pull/6839/files#diff-f9249b9857c637aa28ec7737b007573fb6a027e94f8391253a21e2b903ce7d23
packages/emcn/src/icons/upload.tsxhttps://github.com/simstudioai/sim/pull/6839/files#diff-bbe6ffa4bb7973ec2d769a319989b274794e04275ff90961ed52978dc4df232c
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/packages/emcn/src/icons/upload.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6839/files#diff-bbe6ffa4bb7973ec2d769a319989b274794e04275ff90961ed52978dc4df232c
https://github.com/simstudioai/sim/pull/6839/files#diff-bbe6ffa4bb7973ec2d769a319989b274794e04275ff90961ed52978dc4df232c
scripts/check-icon-path-precision.test.tshttps://github.com/simstudioai/sim/pull/6839/files#diff-77a116aebbfa6c6ffb038be29dd6ba53a46610f3fcd4c244e7cde28ce2ab47fa
View file https://github.com/simstudioai/sim/blob/61a843a49f78fa9b167c8f5bc369ff6dce3336fe/scripts/check-icon-path-precision.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6839/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6839/files
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.