@Test public void canScaleTo25ProjectsOfAtLeast250ClassesEach() { assertThat(files.size(), greaterThan(250)); long timestamp = System.currentTimeMillis(); createProjects(); // We should be able to do this in 35 seconds on a 2.4ghz MBP. 60 sec is just for test // consistency assertThat(System.currentTimeMillis() - timestamp, lessThan(300000L)); timestamp = System.currentTimeMillis(); updateProjects(); // We should be able to do this in 3 seconds on a 2.4ghz MBP. 10 sec is just for test // consistency assertThat(System.currentTimeMillis() - timestamp, lessThan(10000L)); }