mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
bootstrapped latest changes
This commit is contained in:
parent
ab45c02d68
commit
c2990c22d5
1 changed files with 3 additions and 2 deletions
|
@ -19,13 +19,14 @@ import org.eclipse.xtext.testlanguages.SimpleExpressionsStandaloneSetup;
|
|||
public class PartialParsingPerformanceTest extends AbstractPartialParserTest {
|
||||
|
||||
public void testPerformance() throws Exception {
|
||||
int magicnumber = 10;
|
||||
with(SimpleExpressionsStandaloneSetup.class);
|
||||
StringBuffer modelBuffer = new StringBuffer();
|
||||
for(int i=0; i<200; ++i) {
|
||||
for(int i=0; i<magicnumber; ++i) {
|
||||
modelBuffer.append("(a+(b*");
|
||||
}
|
||||
modelBuffer.append("c");
|
||||
for(int i=0; i<200; ++i) {
|
||||
for(int i=0; i<magicnumber; ++i) {
|
||||
modelBuffer.append(")+d)");
|
||||
}
|
||||
String model = modelBuffer.toString();
|
||||
|
|
Loading…
Reference in a new issue