[svn]
r7176: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
VladD2
svnadmin at nemerle.org
Sun Dec 31 00:51:55 CET 2006
Log:
Add perf. test.
Author: VladD2
Date: Sun Dec 31 00:51:53 2006
New Revision: 7176
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/CodeModel/Project.Type.n Sun Dec 31 00:51:53 2006
@@ -380,8 +380,10 @@
if (loc.Contains(line, col)) // completion in method body
{
+ def timer = Stopwatch.StartNew();
def bodyCode = source.GetRegion(loc.Line, loc.Column, loc.EndLine, loc.EndColumn);
def tokens = TokenFinder().Find(method.BodyTokens, line, col);
+ Trace.WriteLine($"Comlete took $(timer.Elapsed)");
match (tokens.Find(t => t is Token.RoundGroup))
{
More information about the svn
mailing list