[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaProfiler: test case
- From: Shmuel Zeigerman <shmuz@...>
- Date: Tue, 20 May 2008 11:03:57 +0300
Fabio Mascarenhas wrote:
Shmuel, the only changes from 2.0.1 to the current CVS are these fixes,
so feel free to try. :-)
OK, I felt free and tried :)
The 4-th test case:
profiler.stop() --> crash here
The 5-th test case:
profiler.start() --> takes 7.7 sec. on my machine;
-- makes a nonsensical dump file containing 100003 lines.
IMHO, since the library isn't meant to allow nested start/stop calls, it
should just check its state ("started" or not) on every start/stop call
and either raise an error or simply ignore the out-of-order calls.