URL: https://www.peterbe.com/jsdelivr-histogram.html

If you haven't heard of jsDelivr then you've missed out on a great project! It's basically a free CDN to use for Open Source projects. I added my own yesterday and it was as easy as making a pull request with the initial file, some metadata and a file that tells them where to pick up new versions from (e.g. GitHub).

Anyway, they now host A LOT of files. 8,941 to be exact (1,927 unique file names), at the time of writing. So I thought I'd check out what the median size is.

The median size is: 7.4Kb

The average is 28.6Kb and the standard deviation is 73Kb! so we can basically ignore that and just focus on the median.

Check out the histogram

That's pretty big! If you exclude those bigger than 100Kb the median shrinks to 6.5Kb. Still pretty big.

I'm proud to say that my own is only 50% the size of the median size.

Comments

Your email will never ever be published.

Previous:
Best non-cryptographic hashing function in Python (size and speed) February 21, 2015 Python
Next:
Newsletters I enjoy for work March 3, 2015 Misc. links
Related by category:
Switching from Next.js to Vite + wouter July 28, 2023 JavaScript
How to SSG a Vite SPA April 26, 2025 JavaScript
An ideal pattern to combine React Router with TanStack Query November 18, 2024 JavaScript
swr compared to @tanstack/react-query August 30, 2024 JavaScript
Related by keyword:
How to do performance micro benchmarks in Python June 24, 2017 Python
Optimization of QuerySet.get() with or without select_related November 3, 2016 Python, Django, PostgreSQL
A quicksearch for Bugzilla using Autocompeter January 27, 2016 Python, Web development, Mozilla, JavaScript
Autocompeter is Dead. Long live Autocompeter! January 9, 2017 Python, Web development, Go