No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

序列化性能测试

100W对象测试:

	/**
	 * JDK
	 * serialize:
	 * ===========> memory use: 550.52M
	 * ===========> time use: 41738ms
	 * deserialize:
	 * ===========> time use: 51151ms
	 *
	 * kryo
	 * serialize:
	 * ===========> memory use: 153.79M
	 * ===========> time use: 37226ms
	 * deserialize:
	 * ===========> time use: 35592ms
	 *
	 * protostuff
	 * serialize:
	 * ===========> memory use: 123.15M
	 * ===========> time use: 35264ms
	 * deserialize:
	 * ===========> time use: 35802ms
	 */

其他两个序列化与JDK没有拉太大差距,瓶颈应该在Redis通讯交互,实际上protostuffkryo比JDK要快得多