P
Peter Judge
Guest
Do you consider unit tests an appropriate place for performance and memory-leak testing? If so, what approaches do you take? I know for memory tests, you can run with DynObjects.* logging and parse the logfile to collate allocations and deallocations (memptr in my case). Similarly you can check for Created and Deleted(-by-GC). Objects can also be checked by walking the session's object tree, but that doesn't apply to memptrs. And for performance, do you graph run-speed over time? Or assert that a test should run in (say) less that 10ms?
Continue reading...
Continue reading...