Giter VIP home page Giter VIP logo

Comments (9)

jamuhl avatar jamuhl commented on August 19, 2024

+1 this would make it even more awesome

from plato.

sindresorhus avatar sindresorhus commented on August 19, 2024

👍 I was just about to request this. Would be very useful to be able to see size and complexity regressions over time.

from plato.

cwarden avatar cwarden commented on August 19, 2024

Rather than retaining reports, how about if you run it against a git repo, it creates a temporary clone, then iterates through commits. You might not want to run it for every commit, but maybe have it advance x number of days at a time.

from plato.

psyked avatar psyked commented on August 19, 2024

Being able to see a historical overview would be awesome - even if doing it via Git as @cwarden suggests comes as some form of standalone extension, rather than core functionality.

from plato.

jsoverson avatar jsoverson commented on August 19, 2024

Yep, this is in progress and is a high priority for me. Getting sick and losing a dev machine caused some significant backup for me, but this will be out asap.

from plato.

jsoverson avatar jsoverson commented on August 19, 2024

This is in progress on the dev branch and feedback is always welcome. First iteration should be out soon. Reorganizing the layout and better displaying this information will be a priority long-term, but the retention and basic visualization of some historical data will be the first release of this feature.

from plato.

cwarden avatar cwarden commented on August 19, 2024

Nice work. The first run reports errors about parsing the history files, but otherwise it looks good.
Using faketime to reconstruct a weekly history from a git repo is easy enough, e.g.

for days_ago in $(jot 20 140 0 -7); do
   date=$(date --date="$days_ago days ago" +'%Y-%m-%d %H:%M');
   git co -f $(git rev-list -n 1 --before="$date" master);
   faketime "$date" ~/git/plato/bin/plato -d /tmp/plato -r app/;
done

from plato.

psyked avatar psyked commented on August 19, 2024

Looks really good!

from plato.

jsoverson avatar jsoverson commented on August 19, 2024

Just published 0.5.0 with some cleanup and historical reports (obligatory jQuery example)

@cwarden, incorporated the date faking into plato so you can do similar things without faketime and lovingly stole borrowed some of your logic in order to generate the examples with history see update.sh. Thanks!

from plato.

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.