No description
Find a file
2021-10-19 11:27:28 +02:00
docs update code to use $ for duration 2021-10-19 11:26:28 +02:00
src update code to use $ for duration 2021-10-19 11:26:28 +02:00
tests update code to use $ for duration 2021-10-19 11:26:28 +02:00
.gitattributes added .gitiattributes 2020-12-09 13:26:07 +01:00
README.md update code to use $ for duration 2021-10-19 11:26:28 +02:00
timelog.nimble bump nimble file 2021-10-19 11:26:35 +02:00

Timelog

A simple nimble package to log execution time

timelog("my_identifier"):
  callMyProc()

It is possible to hide the timing behind a define. Doing so will only log if -d:mydefine is passed to the Nim compiler

timelog("my_identifier", mydefine):
  callMyProc()

Installation

nimble install timelog

Documentation

Read

https://clonkk.github.io/timelog/

Generation

Generate documentation nimble doc src/timelog.nim --outdir:docs/