forked from ScottOaks/JavaPerformanceTuning
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
27 lines (21 loc) · 855 Bytes
/
README
File metadata and controls
27 lines (21 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
To build:
Even if you are not using an entity manager, building this requires a
JPA implementation (since the mock entity manager still uses JPA
interfaces). Download an implementation (e.g., the reference implementation
from GlassFish) and in your environment set
JAVAX_PERSISTENCE=path_to/javax.persistence.jar
Then run
ant
To run:
java <jvmargs> -DMockEntityManager=MockEntityManager \
-jar jars/StockSerialization.jar
Notes on Examples:
Example 10-11:
The regular SPH is labeled eager transient in the output
The transient histogram is labeled eagaer transient
Example 10-12:
No compresion is the regular SPH case
Compression/Decompression is the serialize/deserialize case
Compression only is the lazy compression case
Example 12-1:
Unbuffered compression/decompression output