Skip to content

chore: Add benchmark script - #706

Merged
shuding merged 2 commits into
mainfrom
shu/ar9YR
Aug 29, 2025
Merged

shuding merged 2 commits into
mainfrom
shu/ar9YR

Conversation

@shuding

@shuding shuding commented Aug 29, 2025

Copy link
Copy Markdown
Member
clk: ~4.12 GHz
cpu: Apple M4 Pro
runtime: node 22.13.1 (arm64-darwin)

benchmark                   avg (min … max) p75 / p99    (min … top 1%)
------------------------------------------- -------------------------------
satori                         4.06 ms/iter   4.29 ms  █                   
                        (3.47 ms … 7.41 ms)   6.48 ms ▅█▅▆▆ ▃              
                    (  3.57 mb …  11.78 mb)   6.60 mb ███████▄▆▄▂▁▂▁▂▁▂▂▁▁▂

satori + resvg                33.46 ms/iter  33.98 ms  █               █   
                      (32.52 ms … 34.42 ms)  34.24 ms ▅█▅▅ ▅ ▅    ▅▅▅▅ █▅▅▅
                    (  6.65 mb …   6.67 mb)   6.65 mb ████▁█▁█▁▁▁▁████▁████

satori + sharp                14.42 ms/iter  14.62 ms     █    ▃ ▃         
                      (13.95 ms … 15.00 ms)  14.99 ms  ▇▂ █▇▇ ▂█▂█▂▂▇ ▂    
                    (  6.66 mb …   6.73 mb)   6.67 mb ▆██▆███▆███████▆█▆▁▆▆

summary
  satori
   3.55x faster than satori + sharp
   8.23x faster than satori + resvg

@vercel

vercel Bot commented Aug 29, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
satori-playground Ready Ready Preview Comment Aug 29, 2025 0:03am

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedsharp@​0.34.39110010086100
Addedmitata@​1.0.3410010010086100

View full report

@shuding
shuding merged commit 1a338ca into main Aug 29, 2025
@shuding
shuding deleted the shu/ar9YR branch August 29, 2025 12:03
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.18.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was successfully deployed

1 active deployment
Preview — 78a2a453 Deployed Aug 29, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant