Median size of Javascript libs on jsDelivr

24 February 2015   0 comments   Javascript

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

Powered by Fusion×

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.

Follow @peterbe on Twitter

Comments

Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Best non-cryptographic hashing function in Python (size and speed) 21 February 2015
Next:
Newsletters I enjoy for work 03 March 2015
Related by Keyword:
How to do performance micro benchmarks in Python 24 June 2017
Autocompeter is Dead. Long live Autocompeter! 09 January 2017
Optimization of QuerySet.get() with or without select_related 03 November 2016
A quicksearch for Bugzilla using Autocompeter 27 January 2016
How I installed letsencrypt for Nginx 26 January 2016
Related by Text:
Fastest way to find out if a file exists in S3 (with boto3) 16 June 2017
Concurrent Gzip in Python 13 October 2017
Premailer on Python 3 08 October 2014
CSS Bloat Comparison 03 June 2016
How to do performance micro benchmarks in Python 24 June 2017