Coder Social home page Coder Social logo

thisdevdane / otime Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 43 KB

Rewrite of CTime by Casey Muratori in Odin

License: MIT License

Batchfile 1.50% Shell 0.88% Odin 97.62%
odin odin-programming-language timing time tracking time-tracking ctime

otime's Introduction

Otime logo
This program is a spirital successor for Casey Muratori's Ctime written in Odin

otime -stats jaze.otm

Stats from jaze.otm.

Total timings: 6436.
Total incomplete timings: 107.

Timings marked successful (2701):
  Slowest: 22.326 seconds
  Fastest: 0.046 seconds
  Average: 2.443 seconds
  Total:   1 hour, 50 minutes, 0.810 seconds

Timings marked failed (3628):
  Slowest: 1 minute, 46.796 seconds
  Fastest: 0.016 seconds
  Average: 0.609 seconds
  Total:   36 minutes, 52.238 seconds

Average of all groups:  1.369 seconds
Total of all groups:    2 hours, 26 minutes, 53.048 seconds

Usage

Otime will automatically create a file to store the data in when you start timing stuff. You simply put a otime -begin foo and otime -end foo.otm %err% around what you're timing, with foo being the filename you want otime to use, and %err% being the error code returned by what you're timing, you can omit %err% and otime will just assume that the timing was successful.
If want to see all options just write otime and it will print them.

otime's People

Contributors

thisdevdane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.