attempt to fix #60
gracefully handle the absence of the debug.stopwatch service
Not sure it is the real solution. The traceable service must be only used on debug mode.
@rande the proper thing would be a compiler pass to determine if the profiler is enabled but this seems a bit like overkill which is why i am proposing this solution.
Can you push a new stable version for this PR ? I'm still stuck in production...
Thanks ! :)
@lsmith77 If I get this right, than a CompilerPass is only applied during compiling (of course ) which is only once (at least in production). Why is this overkill?
its overkill in terms of development and maintenance effort not in terms of performance :)