Remove redundant syntax

This commit is contained in:
Gary Gregory 2024-09-12 10:14:36 -04:00
parent a2706e7c96
commit 24e80503b3
1 changed files with 5 additions and 5 deletions

View File

@ -99,22 +99,22 @@ public class CharUtilsPerfRun {
} }
private void run() { private void run() {
this.printSysInfo(); printSysInfo();
long startMillis; long startMillis;
startMillis = System.currentTimeMillis(); startMillis = System.currentTimeMillis();
this.printlnTotal("Do nothing", startMillis); printlnTotal("Do nothing", startMillis);
run_CharUtils_isAsciiNumeric(WARM_UP); run_CharUtils_isAsciiNumeric(WARM_UP);
startMillis = System.currentTimeMillis(); startMillis = System.currentTimeMillis();
run_CharUtils_isAsciiNumeric(COUNT); run_CharUtils_isAsciiNumeric(COUNT);
this.printlnTotal("run_CharUtils_isAsciiNumeric", startMillis); printlnTotal("run_CharUtils_isAsciiNumeric", startMillis);
run_inlined_CharUtils_isAsciiNumeric(WARM_UP); run_inlined_CharUtils_isAsciiNumeric(WARM_UP);
startMillis = System.currentTimeMillis(); startMillis = System.currentTimeMillis();
run_inlined_CharUtils_isAsciiNumeric(COUNT); run_inlined_CharUtils_isAsciiNumeric(COUNT);
this.printlnTotal("run_inlined_CharUtils_isAsciiNumeric", startMillis); printlnTotal("run_inlined_CharUtils_isAsciiNumeric", startMillis);
run_CharSet(WARM_UP); run_CharSet(WARM_UP);
startMillis = System.currentTimeMillis(); startMillis = System.currentTimeMillis();
run_CharSet(COUNT); run_CharSet(COUNT);
this.printlnTotal("run_CharSet", startMillis); printlnTotal("run_CharSet", startMillis);
} }
private int run_CharSet(final int loopCount) { private int run_CharSet(final int loopCount) {