fiverr / statistician Goto Github PK
View Code? Open in Web Editor NEW๐ Create and compare files stats, and webpack bundle stats
License: MIT License
๐ Create and compare files stats, and webpack bundle stats
License: MIT License
Expected Behaviour
In the following example diff is 0.01%
Result
diff is 1%
Reproduce
Please see first push in edit history of this pr:
https://github.com/fiverr/gig_gallery_package/pull/81#issuecomment-432252157
Can we add support for optionally checking diff for gzip/brotli
I can contribute if needed
It throws when comparing two webpack-5 stats.
Obviously the problem in chunkalyse
package, but seems like it's not maintained. And other issues may occur after fixing this one.
TypeError: Cannot read property 'reduce' of undefined
at /.../.yarn/cache/chunkalyse-npm-0.5.3-853143bb41-56c74e2f5f.zip/node_modules/chunkalyse/index.js:44:15
at Array.reduce (<anonymous>)
at analyseChunks (/.../.yarn/cache/chunkalyse-npm-0.5.3-853143bb41-56c74e2f5f.zip/node_modules/chunkalyse/index.js:37:3)
at module.exports (/.../.yarn/cache/chunkalyse-npm-0.5.3-853143bb41-56c74e2f5f.zip/node_modules/chunkalyse/index.js:19:10)
at Array.map (<anonymous>)
at bundles (/.../.yarn/cache/statistician-npm-0.5.7-4d025164e9-4020e114f0.zip/node_modules/statistician/programs/diff-summary/bundles/index.js:17:32)
at module.exports (/.../.yarn/cache/statistician-npm-0.5.7-4d025164e9-4020e114f0.zip/node_modules/statistician/programs/diff-summary/index.js:15:30)
at module.exports (/.../.yarn/cache/statistician-npm-0.5.7-4d025164e9-4020e114f0.zip/node_modules/statistician/programs/diff-summary/cli.js:10:54)
at async /.../.yarn/cache/statistician-npm-0.5.7-4d025164e9-4020e114f0.zip/node_modules/statistician/cli.js:21:18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.