Skip to content

Commit

Permalink
Update performance graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Haraldsen committed Dec 23, 2023
1 parent 57fe11b commit cadd6b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ W3C [Date and Time Formats](https://www.w3.org/TR/NOTE-datetime) in Java.
Your mileage may vary, but tests indicate comfortably 10x faster than JDK classes.
<img src="doc/performance.png" alt="Performance plot">

Tests performed on a Dell XPS 9700
* Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
* Ubuntu 21.10
* OpenJDK version 11.0.13
Tests performed on a Lenovo P1 G6 laptop:
* Intel(R) Core(TM) i9-13900H
* Ubuntu 23.10
* OpenJDK version 17.0.9

### Run tests yourself
```shell
mvn jmh:benchmark
```

To plot the result and create the resulting image, you can run `plot.py`.
`python3 plot.py -i target/itu_performance.json --size=11,5`

## Example usage

Expand Down
Binary file modified doc/performance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cadd6b6

Please sign in to comment.