I couldn't find anything on the compiler page or anywhere in the specs, so I assume Nimrod's compiler doesn't do it - but is their a test or benchmark compile mode? For instance Rust and Go both have the ability to generate an executable that tests the output of code block and it's performance in ns (Go also includes alloc/dealloc info).
I mean it's no big deal, it's easy to implement a benchmarking system - but I just thought it would be neat if there was a tool to save me some time. Thanks ahead of time!
Allow me to share a secret with you so that you understand why nobody ever asks here anything:
http://nimrod-code.org/theindex.html
Search for "profiler" and you get this result:
http://nimrod-code.org/estp.html
For testing you can use the unittest module (not documented yet) or
when isMainModule:
doAssert(2 == 1+1)
Welp, I think I'm going to go jump off a cliff. I looked up "test" and "bench" on the index, didn't even think of "profile".
Thanks so much, my good sir! Next time I'll be a bit more thorough before I come bug you guys!