@"3352d1d72690cdec9794c5f3541c9c778f2dbcee", 13533)] // 3 //[TestCase(@"https://github.com/Modernizr/Modernizr", // @"ad2be12934b66102005e3c7e4b850f65f36e25d2", 13496)] //[TestCase(@"https://github.com/jashkenas/underscore", // @"bc50d7a0e8d610b461f2d520c2f9f13e5c52f179", 12645)] //[TestCase(@"https://github.com/TryGhost/Ghost", // @"38019f356fd31355f6bdcc5ab22db8902b074008", 12627)] //[TestCase(@"https://github.com/ivaynberg/select2", // @"dd323687f3324f9b89d73375777793d7f4c0ad13", 12216)] public void ParseGitRepository(string url, string commitPointer, int starCount) { Action <string> parse = code => { var parser = new JavaScriptParser( new CommonTokenStream( new JavaScriptLexer(new ANTLRStringStream(code)))); parser.TraceDestination = Console.Error; var ret = parser.program(); }; MeasurePerformance(url, commitPointer, parse, "*.js"); }
@"3352d1d72690cdec9794c5f3541c9c778f2dbcee", 13533)] // 3 //[TestCase(@"https://github.com/Modernizr/Modernizr", // @"ad2be12934b66102005e3c7e4b850f65f36e25d2", 13496)] //[TestCase(@"https://github.com/jashkenas/underscore", // @"bc50d7a0e8d610b461f2d520c2f9f13e5c52f179", 12645)] //[TestCase(@"https://github.com/TryGhost/Ghost", // @"38019f356fd31355f6bdcc5ab22db8902b074008", 12627)] //[TestCase(@"https://github.com/ivaynberg/select2", // @"dd323687f3324f9b89d73375777793d7f4c0ad13", 12216)] public void ParseGitRepository(string url, string commitPointer, int starCount) { Action<string> parse = code => { var parser = new JavaScriptParser( new CommonTokenStream( new JavaScriptLexer(new ANTLRStringStream(code)))); parser.TraceDestination = Console.Error; var ret = parser.program(); }; MeasurePerformance(url, commitPointer, parse, "*.js"); }