[Progress Communities] [Progress OpenEdge ABL] Forum Post: Performance & memory-leak testing in unit tests

Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Top