mirror of
https://github.com/Clonkk/timelog
synced 2026-01-14 19:31:41 +00:00
No description
|
|
||
|---|---|---|
| docs | ||
| src | ||
| tests | ||
| .gitattributes | ||
| README.md | ||
| timelog.nimble | ||
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/