Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90c39351 authored by Miguel Aranda's avatar Miguel Aranda Committed by Gerrit Code Review
Browse files

Merge "Fix ZipFilePerfTest issues by closing the file in each loop iteration."

parents 2385e756 f153f7c1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -70,6 +70,9 @@ public class ZipFilePerfTest {
        BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
        while (state.keepRunning()) {
            ZipFile zf = new ZipFile(mFile);
            state.pauseTiming();
            zf.close();
            state.resumeTiming();
        }
    }