Giter VIP home page Giter VIP logo

Comments (9)

RazrFalcon avatar RazrFalcon commented on July 22, 2024

for environments where a cargo install would be too slow or expensive?

cargo-bloat takes few seconds to build. That's one of the core features.

Supporting prebuild binaries is too troublesome. I prefer not to.

Also, I'm not sure why do you need cargo-bloat on CI.

from cargo-bloat.

orf avatar orf commented on July 22, 2024

cargo-bloat takes few seconds to build. That's one of the core features.

It depends on the system, it can take upwards of a minute.

Supporting prebuild binaries is too troublesome. I prefer not to.

Honestly I've found them to be not troublesome at all, but that's that's totally fine 👍. Even without the prebuilt binaries it may be worth looking at Github actions instead of Travis for the CI? Stuff like code annotations are really powerful, and clippy has pointed out a few changes that could be done.

Also, I'm not sure why do you need cargo-bloat on CI.

I'm working on a experimental personal project to use cargo bloat to track binary sizes in projects over time, and give feedback on changes within a merge request.

I'll leave this issue and the PR open, please close them if you don't see any value in them. Also, thanks for this awesome tool.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on July 22, 2024

I'm not familiar with GitHub actions and I don't have enough time to learn them right now, so maybe later. For now, you can host your own builds if build time is critical. If more people find it useful then I will reconsider this.

from cargo-bloat.

orf avatar orf commented on July 22, 2024

I just wanted to let you know that I finally got around to releasing the github-action tool based on cargo-bloat: https://github.com/orf/cargo-bloat-action

Thanks for your work on this project 🙏. I ended up installing acargo-bloat with --development to speed up installs, but even then it can take upwards of a minute. I guess that's not too bad, but I'm more than happy to help if you reconsider github-actions in the future.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on July 22, 2024

Hi! Yes, I saw your project. Nice work. I don't use github actions, though.

As for this issue in particular, can we simply publish a prebuilt 64bit version with musl just for linux? Will it be enough?

from cargo-bloat.

orf avatar orf commented on July 22, 2024

Sure, that would be enough, if you're willing to do that. Honestly though, it's fine for now. Maybe with the next release?

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on July 22, 2024

I can attach a binary to the latest release on github. I don't need to update anything.

from cargo-bloat.

orf avatar orf commented on July 22, 2024

Ok, that would be fantastic. I can update the workflow to use that pretty easily.

from cargo-bloat.

RazrFalcon avatar RazrFalcon commented on July 22, 2024

Done.

PS: it takes just 3sec on my machine... The CI hardware must be really slow.

from cargo-bloat.

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.