Created
April 27, 2013 15:04
-
-
Save nitsanw/5473414 to your computer and use it in GitHub Desktop.
UTF-8 GC profiling with JMH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Running: psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.charsetEncoder | |
... | |
Iteration 1 (1s in 1 thread): 2.219 ops/msec | |
HS(GC) | difference: {sun.gc.generation.2.space.0.used=3784} | |
| | |
... | |
# Running: psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.customEncoder | |
... | |
Iteration 1 (1s in 1 thread): 4.770 ops/msec | |
HS(GC) | difference: {sun.gc.generation.2.space.0.used=3784} | |
| | |
# Running: psy.lob.saw.utf8.generated.throughput.Utf8EncodingBenchmark.stringGetBytes | |
... | |
Iteration 1 (1s in 1 thread): 2.237 ops/msec | |
GC | wall time = 0.999 secs, GC time = 0.001 secs, GC% = 0.10%, GC count = +1 | |
| | |
HS(GC) | difference: {sun.gc.collector.0.invocations=1, sun.gc.collector.0.lastEntryTime=1107305, sun.gc.collector.0.lastExitTime=1107008, sun.gc.collector.0.time=1025, sun.gc.generation.0.capacity=116129792, sun.gc.generation.0.space.0.used=14459512, sun.gc.generation.0.space.1.capacity=131072, sun.gc.generation.0.space.1.used=-98304, sun.gc.generation.0.space.2.used=65536, sun.gc.generation.1.space.0.used=98304, sun.gc.generation.2.space.0.used=2984, sun.gc.policy.avgBaseFootprint=7584, sun.gc.policy.avgMinorIntervalTime=178, sun.gc.policy.avgMinorPauseTime=-2, sun.gc.policy.avgPromotedAvg=-1894, sun.gc.policy.avgPromotedDev=-10602, sun.gc.policy.avgPromotedPaddedAvg=-33699, sun.gc.policy.avgSurvivedAvg=-86087, sun.gc.policy.avgSurvivedDev=45497, sun.gc.policy.avgSurvivedPaddedAvg=50403, sun.gc.policy.avgYoungLive=-86087, sun.gc.policy.desiredSurvivorSize=65536, sun.gc.policy.edenSize=116195328, sun.gc.policy.freeSpace=116195328, sun.gc.policy.liveSpace=-78528, sun.gc.policy.minorGcCost=-1, sun.gc.policy.minorPauseTime=-1, sun.gc.policy.minorPauseYoungSlope=-1, sun.gc.policy.mutatorCost=1, sun.gc.policy.promoted=98304, sun.gc.policy.survived=-32768, sun.gc.policy.tenuringThreshold=-1, sun.gc.policy.youngCapacity=181403648, sun.gc.tlab.alloc=22643227, sun.gc.tlab.gcWaste=57205, sun.gc.tlab.maxGcWaste=57205, sun.gc.tlab.maxSlowWaste=8, sun.gc.tlab.slowWaste=8} | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment