Skip to content

Commit

Permalink
Provides now the benchmarks that are comparable to the ones in fast_d…
Browse files Browse the repository at this point in the history
…ouble_parser.
  • Loading branch information
wrandelshofer committed Mar 22, 2021
1 parent d2a562b commit 6359c06
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ How to run the performance test on a Mac:

1. Install Java JDK 16 from [OpenJDK.](https://jdk.java.net/16/)
2. Install the XCode command line tools from Apple.
3. Open the Terminal and execute the following commands:
3. Open the Terminal and execute the following commands:

git clone https://github.com/wrandelshofer/FastDoubleParser.git
cd FastDoubleParser javac -d out -sourcepath src test/ch/randelshofer/math/FastDoubleParserBenchmark.java java
-classpath out ch.randelshofer.math.FastDoubleParserBenchmark java -classpath out
ch.randelshofer.math.FastDoubleParserBenchmark data/canada.txt

git clone https://github.com/wrandelshofer/FastDoubleParser.git
cd FastDoubleParser javac -d out -sourcepath src test/ch/randelshofer/math/FastDoubleParserBenchmark.java
java -classpath out ch.randelshofer.math.FastDoubleParserBenchmark
java -classpath out ch.randelshofer.math.FastDoubleParserBenchmark data/canada.txt

On my Mac mini (2018) I get the following results:

Expand Down

0 comments on commit 6359c06

Please sign in to comment.