Git Product home page Git Product logo

Comments (5)

brandondrew avatar brandondrew commented on September 24, 2024

I could see this being very useful at times. Is it safe to assume the overhead of running it on everything would be negligible?

from urchin.

Spakman avatar Spakman commented on September 24, 2024

I think so, yes. I was only intending storing the wall clock time since this is what tends to be most interesting to me. It's not really intended for heavy profiling, but should be useful for spotting trends and situations when rough times are all you need.

ae4d9d2 implements the bare bones of this, but I want to store the times in the history too. One thing to be aware of is that it records post-parse --> post-run (in other words, after the command line has been parsed - just before execution - to when the command line returns - just before the next prompt is drawn).

from urchin.

brandondrew avatar brandondrew commented on September 24, 2024

If I understand correctly, you meant the feature to be timestamps on each command (with date presumably) rather than running time for each command? To me the timestamps would be even more useful: I've often wanted to be able to look through my command history and know exactly when and where (in what directory) I issued a certain command. I'll create an issue for the where part, along with the implementation approach I envision working best.

from urchin.

Spakman avatar Spakman commented on September 24, 2024

I was meaning the duration of each command (in the same sort of way as time), but I love the idea of actual timestamps too and am definitely interested in adding this.

from urchin.

Spakman avatar Spakman commented on September 24, 2024

Implemented by #14.

from urchin.

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.