| Index: src/org/eclipse/epsilon/eol/EolOperation.java |
| =================================================================== |
| --- src/org/eclipse/epsilon/eol/EolOperation.java (revision 1404) |
| +++ src/org/eclipse/epsilon/eol/EolOperation.java (working copy) |
| @@ -212,8 +212,11 @@ |
| */ |
| |
| public Object execute(Object self, List parameterValues, IEolContext context, boolean inNewStackFrame) throws EolRuntimeException{ |
| + Profiler.INSTANCE.start("Operation " + name); |
| + |
| |
| if (isCached() && cache.containsKey(self)) { |
| + Profiler.INSTANCE.stop("Operation " + name); |
| return cache.get(self); |
| } |
| |
| @@ -257,6 +260,7 @@ |
| cache.put(self, result); |
| } |
| |
| + Profiler.INSTANCE.stop("Operation " + name); |
| return result; |
| } |
| |