Skip to content

Instantly share code, notes, and snippets.

@devinrsmith
Last active November 6, 2019 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devinrsmith/dd899dd5c515ab90a985b58a8677b799 to your computer and use it in GitHub Desktop.
Save devinrsmith/dd899dd5c515ab90a985b58a8677b799 to your computer and use it in GitHub Desktop.
classgraph-benchmark-1
$ ./build/install/classgraph-benchmark/invoke.sh
Running a classgraph benchmark focused on startup speed
For more information, see https://github.com/devinrsmith/classgraph-benchmark

classloader META-INF/maven/com.google.guava/guava/pom.xml 2 84a3ee12 17 56
real 0.10
user 0.13
sys 0.03
classgraph META-INF/maven/com.google.guava/guava/pom.xml 2 84a3ee12 122 162
real 0.22
user 0.60
sys 0.05

classloader META-INF/services/io.grpc.ServerProvider 1 5bb29cd1 13 53
real 0.10
user 0.13
sys 0.02
classgraph META-INF/services/io.grpc.ServerProvider 1 5bb29cd1 120 159
real 0.22
user 0.60
sys 0.04

classloader META-INF/MANIFEST.MF 25 2184deb5 14 54
real 0.10
user 0.16
sys 0.01
classgraph META-INF/MANIFEST.MF 25 43ecd70c 146 189
real 0.25
user 0.75
sys 0.05

classloader io/grpc/netty/shaded/io/netty/channel/ChannelPromise.class 1 231c0ade 14 53
real 0.10
user 0.13
sys 0.02
classgraph io/grpc/netty/shaded/io/netty/channel/ChannelPromise.class 1 231c0ade 126 166
real 0.21
user 0.66
sys 0.05
@devinrsmith
Copy link
Author

The META-INF/MANIFEST.MF hash difference might be due to ordering?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment