FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaPerformanceTuning/StockSerialization/README at master · GKPython/JavaPerformanceTuning · GitHub
GKPython
/
JavaPerformanceTuning
Public
forked from
ScottOaks/JavaPerformanceTuning
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaPerformanceTuning
/
StockSerialization
/
README
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 855 Bytes
Breadcrumbs
JavaPerformanceTuning
/
StockSerialization
/
README
Copy path
File metadata and controls
27 lines (21 loc) · 855 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
Back
|
FazBrowse Home
|
New Git URL