Skip to content

Commit

Permalink
pseudo benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Mar 31, 2018
1 parent a7d18a7 commit cd1fb80
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,35 @@ Guice.
## Idea Setup

Go to "Preferences > Annotation Processors", and check "Enable Annotation
Processing".
Processing".

## Results - Jar-with-Dependencies Sizes

```
$ mvn clean package
$ find . -name '*.jar' |xargs ls -l |grep -v original |grep -v common
-rw-r--r-- 1 andrus staff 80803 Mar 31 16:52 ./cayennedi/target/cayennedi-1.0-SNAPSHOT.jar
-rw-r--r-- 1 andrus staff 52533 Mar 31 16:52 ./dagger/target/dagger-1.0-SNAPSHOT.jar
-rw-r--r-- 1 andrus staff 3522218 Mar 31 16:52 ./guice/target/guice-1.0-SNAPSHOT.jar
```

## Results - Startup Time

```
$ time java -jar ./cayennedi/target/cayennedi-1.0-SNAPSHOT.jar
...
real 0m0.166s
```

```
$ time java -jar ./dagger/target/dagger-1.0-SNAPSHOT.jar
...
real 0m0.122s
```

```
$ time java -jar ./guice/target/guice-1.0-SNAPSHOT.jar
...
real 0m0.353s
```

0 comments on commit cd1fb80

Please sign in to comment.