marcomorain / marcomorain/tcat

Output is only accurate to the nearest second

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
72
Forks
6
PR merge metrics
No merged PRs in 30d

Description

`tcat` gives output as follows, which is only accurate to the nearest second.

```
2015-04-14T22:53:27+0000 Preparing
2015-04-14T22:53:27+0000
2015-04-14T22:53:27+0000 Analyzing dependencies
2015-04-14T22:53:27+0000
2015-04-14T22:53:27+0000 Updating spec repositories
2015-04-14T22:53:27+0000 Updating spec repo `master`
2015-04-14T22:53:27+0000 $ /usr/local/bin/git pull --ff-only
2015-04-14T22:53:32+0000 Already up-to-date.
2015-04-14T22:53:32+0000
2015-04-14T22:53:32+0000 Inspecting targets to integrate
2015-04-14T22:53:32+0000 Using `ARCHS` setting to build architectures of target `Pods`: (``)
2015-04-14T22:53:32+0000 Using `ARCHS` setting to build architectures of target `Pods-KiwiTesterTests`: (``)
2015-04-14T22:53:32+0000
2015-04-14T22:53:32+0000 Finding Podfile changes
2015-04-14T22:53:32+0000 - AFNetworking
2015-04-14T22:53:32+0000 - FlurrySDK
2015-04-14T22:53:32+0000 - HockeySDK
2015-04-14T22:53:32+0000 - ISO8601
2015-04-14T22:53:32+0000 - Kiwi
2015-04-14T22:53:32+0000 - MBProgressHUD
2015-04-14T22:53:32+0000 - MBXMapKit
2015-04-14T22:53:32+0000 - MagicalRecord
2015-04-14T22:53:32+0000 - PonyDebugger
2015-04-14T22:53:32+0000 - Reachability
2015-04-14T22:53:32+0000 - ReactiveCocoa
2015-04-14T22:53:32+0000 - SDWebImage
2015-04-14T22:53:32+0000 - SocketRocket
2015-04-14T22:53:32+0000 - libPusher
2015-04-14T22:53:32+0000
2015-04-14T22:53:32+0000 Resolving dependencies of `Podfile`
2015-04-14T22:53:32+0000 Starting resolution (2015-04-14 23:53:32 +0100)
2015-04-14T22:53:32+0000 Creating possibility state for Kiwi (~> 2.3) (1 remaining)
2015-04-14T22:53:32+0000 Attempting to activate Kiwi (2.3.1)
2015-04-14T22:53:32+0000 Activated Kiwi at Kiwi (2.3.1)
2015-04-14T22:53:32+0000 Requiring nested dependencies ()
2015-04-14T22:53:32+0000 Creating possibility state for ReactiveCocoa (1 remaining)
2015-04-14T22:53:32+0000 Attempting to activate ReactiveCocoa (2.4.7)
2015-04-14T22:53:32+0000 Activated ReactiveCocoa at ReactiveCocoa (2.4.7)
2015-04-14T22:53:32+0000 Requiring nested dependencies (ReactiveCocoa/UI (= 2.4.7))
2015-04-14T22:53:32+0000 Creating possibility state for AFNetworking (1 remaining)
2015-04-14T22:53:32+0000 Attempting to activate AFNetworking (2.5.2)
2015-04-14T22:53:32+0000 Activated AFNetworking at AFNetworking (2.5.2)
2015-04-14T22:53:32+0000 Requiring nested dependencies (AFNetworking/Serialization (= 2.5.2), AFNetworking/Security (= 2.5.2), AFNetworking/Reachability (= 2.5.2), AFNetworking/NSURLConnection (= 2.5.2), AFNetworking/NSURLSession (= 2.5.2), AFNetworking/UIKit (= 2.5.2))
2015-04-14T22:53:32+0000 Creating possibility state for SDWebImage (1 remaining)
2015-04-14T22:53:32+0000 Attempting to activate SDWebImage (3.7.2)
2015-04-14T22:53:32+0000 Activated SDWebImage at SDWebImage (3.7.2)
2015-04-14T22:53:32+0000 Requiring nested dependencies (SDWebImage/Core (= 3.7.2))
2015-04-14T22:53:32+0000 Creating possibility state for ISO8601 (1 remaining)
2015-04-14T22:53:32+0000 Attempting to activate ISO8601 (0.1.3)
2015-04-14T22:53:32+0000 Activated ISO8601 at ISO8601 (0.1.3)
```

Machine: `Darwin skywarp.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64`

It should be accurate to the nearest millisecond to be useful as a coarse profiler.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named; start by locating the tcat entry point that formats timestamps and inspect how output timestamps are generated. Done means timestamped output includes millisecond precision, allowing the tool to serve as a coarse profiler.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.