File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/csv/perf Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838/**
3939 * Tests performance.
4040 *
41- * To run this test, use: mvn test -Dtest=PeformanceTest
41+ * To run this test, use: mvn test -Dtest=PerformanceTest
4242 */
4343@ SuppressWarnings ("boxing" ) // test code
4444public class PerformanceTest {
@@ -112,12 +112,11 @@ public void testParseBigFileRepeat() throws Exception {
112112 @ Test
113113 public void testReadBigFile () throws Exception {
114114 long bestTime = Long .MAX_VALUE ;
115+ long count ;
115116 for (int i = 0 ; i < this .max ; i ++) {
116117 final long startMillis ;
117- long count ;
118118 try (final BufferedReader in = this .createBufferedReader ()) {
119119 startMillis = System .currentTimeMillis ();
120- count = 0 ;
121120 count = this .readAll (in );
122121 }
123122 final long totalMillis = System .currentTimeMillis () - startMillis ;
You can’t perform that action at this time.
0 commit comments