Skip to content

Commit 65f393a

Browse files
committed
update readme
1 parent fff1afb commit 65f393a

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,41 @@ You can:
2323
```
2424
julia-0.6> using TickTock
2525
julia-0.6> tick()
26-
INFO: Started timer: 2017-12-13T22:30:59.632.
26+
Started timer: 2017-12-13T22:30:59.632.
2727
julia-0.6> tock()
28-
INFO: 55.052638936 ms: 55 seconds, 52 milliseconds
28+
55.052638936 ms: 55 seconds, 52 milliseconds
2929
```
3030

3131
- see how long your cup of tea's been brewing:
3232

3333
```
3434
julia-0.6> tick()
35-
INFO: Started timer: 2017-12-13T22:34:03.78.
35+
Started timer: 2017-12-13T22:34:03.78.
3636
julia-0.6> lap()
37-
INFO: 72.625839832 ms: 1 minute, 12 seconds, 625 milliseconds
37+
72.625839832 ms: 1 minute, 12 seconds, 625 milliseconds
3838
julia-0.6> lap()
39-
INFO: 266.053953749 ms: 4 minutes, 26 seconds, 53 milliseconds
39+
266.053953749 ms: 4 minutes, 26 seconds, 53 milliseconds
4040
julia-0.6> lap()
41-
INFO: 285.314459174 ms: 4 minutes, 45 seconds, 314 milliseconds
41+
285.314459174 ms: 4 minutes, 45 seconds, 314 milliseconds
4242
```
4343

4444
- see how many seconds you held your breath for:
4545

4646
```
4747
julia-0.6> tick()
48-
INFO: Started timer at 2017-12-12T09:17:45.504.
48+
Started timer at 2017-12-12T09:17:45.504.
4949
5050
julia-0.6> tok()
5151
287.841546621
5252
```
5353

54-
- see how long your computer has been running for:
54+
- see how long your computer (and Julia session) has been running for:
5555

5656
```
57+
julia-0.6> tick()
58+
...
5759
julia-0.6> lap()
58-
INFO: 1.302200135485876e6s: (2 weeks, 1 day, 1 hour, 43 minutes, 20 seconds, 135 milliseconds)
60+
1.302200135485876e6s: (2 weeks, 1 day, 1 hour, 43 minutes, 20 seconds, 135 milliseconds)
5961
```
6062

6163
You should *not* use this package to:
@@ -64,7 +66,7 @@ You should *not* use this package to:
6466

6567
- do benchmarking of Julia code
6668

67-
## Acknowledgements
69+
## History
6870

6971
Some of this code used to live in Julia Base in the `tic()`, `toc()`, and `toq()` functions
7072
(in base/util.jl). They were deprecated in GitHub issue [17046](https://github.com/JuliaLang/julia/issues/17046).

0 commit comments

Comments
 (0)