Profile for memory consumption
Hi,
I'm trying to profile some big functionality for memory consumption. Unable to parse email body. Email id is 14000
Thanks, this works for me. Would be nice to have it as a built-in option in Profiler though, to allow one to use the one tool for all kinds of profiling. Martin Simmons <martin@lispworks.com> writes: >>>>>> On Thu, 7 Jul 2016 13:49:32 +0200, Alexey Veretennikov said: >> >> I'm trying to profile some big functionality for memory consumption. >> Currently I see the only way to get this information in LW is via time >> function. >> The Profiler tool only shows amount of time spend in the functions, not >> amount of memory consed/garbage generated. >> How can I find in LW how much memory usage consumed by my functions, like >> here in SBCL: https://a-nickels-worth.blogspot.fr/2008/03/optimizing-cl.html >> in an automatic (and convenient) way? > > LispWorks doesn't have that kind of profiler, but you can call > hcl:total-allocation at the start and end of a function to compute the > allocation within it. -- Br, /Alexey _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html