Giter Club home page Giter Club logo

Comments (10)

paf31 avatar paf31 commented on June 20, 2024

We should be able to add output/ to the Travis cache.

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

Thanks Phil - with the additions in icyrockcom@b2d0f09 the last Travis build now takes 7 mins (though without the latest word-count exercise that's pending approval) vs 21 / 23 / 24 / 34 mins.

This is a nice speed up, but not as much as I hoped so. Does it make sense to cache bower_components, too?

from purescript.

paf31 avatar paf31 commented on June 20, 2024

Yes, we can cache bower_components, but I'm not sure how much it will speed things up.

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

Latest build of the above icyrockcom@3226c6e finished in 3:39. While the variations are obviously great, this version promises to be perhaps 25-50% faster, so I'd go with it. If nothing else, there's less noise in the build logs.

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

Any comments on this one or changes I should make? If this looks good, I can rebase on top of the current master for you to merge, let me know.

from purescript.

lpil avatar lpil commented on June 20, 2024

Looks good to me, thanks :)

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

Thanks @lpil, rebased. The build finished in 7:09, so quite slower than the other day, but still quite faster than current builds. For some reason, the project is being built even though it should be in the cache, e.g.:

-------------------------------------------------------
Testing accumulate
cache: lrwxrwxrwx 1 travis travis 56 Mar 14 22:59 bower_components -> /home/travis/.exercise_cache/accumulate/bower_components
cache: lrwxrwxrwx 1 travis travis 46 Mar 14 22:59 output -> /home/travis/.exercise_cache/accumulate/output
* Building project in /home/travis/build/icyrockcom/xpurescript/exercises/accumulate
Compiling Accumulate
Compiling Test.Main

so we are not getting the full speedup here. I could not reproduce locally, I'll have to look into it.

If you have a moment, please merge into master, as current builds are failing. For example, @paf31 merged word-count the other day, but the build failed after 50 minutes.

from purescript.

paf31 avatar paf31 commented on June 20, 2024

Can you please make a PR?

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

@paf31 Sure, #24

from purescript.

icyrockcom avatar icyrockcom commented on June 20, 2024

Closed by #24

from purescript.

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.