Native Libraries
Non-Native Libraries
-
AspectJ - a bytecode manipulation library for AOP programming
-
BCEL
-
Cojen
-
Serp
/java-platform/java/java---projects--and--code-examples/java---non-native-libraries/java---bytecode-manipulation-libraries/bytecode-manipulation-diagram.png)
|
baseline |
Byte Buddy |
cglib |
Javassist |
Java proxy | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
trivial class creation |
0.003 |
(0.001) |
142.772 |
(1.390) |
515.174 |
(26.753) |
193.733 |
(4.430) |
70.712 |
(0.645) |
|
interface implementation |
0.004 |
(0.001) |
1’126.364 |
(10.328) |
960.527 |
(11.788) |
1’070.766 |
(59.865) |
1’060.766 |
(12.231) |
|
stub method invocation |
0.002 |
(0.001) |
0.002 |
(0.001) |
0.003 |
(0.001) |
0.011 |
(0.001) |
0.008 |
(0.001) |
|
class extension |
0.004 |
(0.001) |
885.983 |
(7.901) |
1’632.730 |
(52.737) |
683.478 |
(6.735) |
– | |
|
super method invocation |
0.004 |
(0.001) |
0.004 |
(0.001) |
0.021 |
(0.001) |
0.025 |
(0.001) |
– | |