Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image optimization #536

Merged
merged 11 commits into from
Jan 12, 2025
Merged

image optimization #536

merged 11 commits into from
Jan 12, 2025

Conversation

ShiboSoftwareDev
Copy link
Contributor

@ShiboSoftwareDev ShiboSoftwareDev commented Jan 11, 2025

  • Dynamically size images for faster lcp
  • Compress Images
  • Prefetch links
  • Loading blur animation before Image loads(if your connection is slow)

image
*at times you won't get this score if it gives you the wrong image sizes somehow

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 832.00 B (0.00%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.88 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.99 101.26 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.16 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 887.00 B (0.00%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.88 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.99 101.26 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.16 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 1.50 KB (0.00%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.88 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.99 101.26 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.16 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.51 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.51 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.51 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.26 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.25 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
vite@^5.4.8 3.60 KB
file-saver@^2.0.5 3.58 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

@seveibar
Copy link
Contributor

are we supposed to commit the images?

@tscircuitbot
Copy link

📊 Bundle Size Analysis

Total Bundle Size

  • Before: 30.38 MB
  • After: 30.38 MB
  • Change: 📈 2.23 KB (0.01%)

Diff

No significant changes in bundle size.

View Dependencies
Package Size
typescript@^5.6.3 8.69 MB
@babel/standalone@^7.26.2 4.82 MB
react@^18.3.1 565.74 KB
ms@^2.1.3 531.75 KB
posthog-js@^1.203.2 229.68 KB
circuit-json@^0.0.130 161.71 KB
jszip@^3.10.1 139.73 KB
react-dom@^18.3.1 138.75 KB
zod@^3.23.8 117.16 KB
circuit-to-svg@^0.0.100 101.85 KB
tailwind-merge@^2.5.2 69.93 KB
@tscircuit/footprinter@^0.0.99 58.09 KB
dsn-converter@^0.0.54 32.96 KB
react-helmet@^6.1.0 29.13 KB
@radix-ui/react-scroll-area@^1.1.0 28.88 KB
fflate@^0.8.2 19.90 KB
@radix-ui/react-popover@^1.1.1 10.63 KB
states-us@^1.1.1 7.27 KB
@radix-ui/react-tabs@^1.1.0 5.62 KB
@radix-ui/react-checkbox@^1.1.1 4.94 KB
use-mouse-matrix-transform@^1.3.0 4.73 KB
zustand@^4.5.5 4.11 KB
lucide-react@^0.445.0 3.61 KB
file-saver@^2.0.5 3.58 KB
vite@^5.4.8 3.24 KB
@vercel/analytics@^1.4.1 2.88 KB
@tscircuit/math-utils@^0.0.10 2.58 KB
redaxios@^0.5.1 1.83 KB
use-async-memo@^1.2.5 759.00 B
clsx@^2.1.1 723.00 B
codemirror@^6.0.1 595.00 B
country-list@^2.3.0 387.00 B
extract-codefence@^0.0.4 151.00 B
jscad-electronics@^0.0.24 63.00 B
What is this? This is an automated bundle size report generated during the build process.

<link rel="dns-prefetch" href="https://tscircuit.com" />

<link rel="preconnect" href="https://registry-api.tscircuit.com" />
<link rel="dns-prefetch" href="https://registry-api.tscircuit.com" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn that's next level

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants