Coder Social home page Coder Social logo

alternative libs to test about dropcss HOT 3 CLOSED

leeoniya avatar leeoniya commented on May 10, 2024
alternative libs to test

from dropcss.

Comments (3)

leeoniya avatar leeoniya commented on May 10, 2024 1

thanks for the link. i'm surprised this one evaded my radar given how mature it is.

here are some preliminary results:

lib size w/deps:
336 MB, 2,283 Files, 217 Folders

output size:
5.00 KB

there's no clear way to whitelist any rules to match up the results with the other libs, but it seems to clean well (as expected).

time elapsed:
1900ms

so, it's a mixed bag for sure.

while the results are good, it's a heavy solution that's ~15x slower than the current DropCSS, and maybe 25x slower by the time more optimizations are done to the selector engine. i have a hunch UnCSS can be fixed to get a bit better at cleaning and it'll still do it 4.5x faster (or more) than minimalcss and in pure JS to boot, at 24.5x smaller footprint.

from dropcss.

leeoniya avatar leeoniya commented on May 10, 2024

https://github.com/oyvindeh/ucss
https://github.com/geuis/helium-css

from dropcss.

leeoniya avatar leeoniya commented on May 10, 2024

i've finished a rewrite of DropCSS and it now completely obliterates every other modern/maintained lib in performance, thoroughness and lib size. i'm confident there's nothing that approaches it at this time.

from dropcss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.