[
http://jira.jboss.com/jira/browse/JBCACHE-937?page=comments#action_12357469 ]
Manik Surtani commented on JBCACHE-937:
---------------------------------------
Note that I have updated VersionAwareMarshallerPerfTest to include:
1) A "warm-up" loop for hotspot VMs to optimise
2) Use of a more realistic object to serialise (a typical prepare() method call) rather
than a random Map. The VAM is only really efficient for known method calls.
3) Added size of byte array generated to the report generated
Benchmark VersionAwareMarshaller
--------------------------------
Key: JBCACHE-937
URL:
http://jira.jboss.com/jira/browse/JBCACHE-937
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.ALPHA2
Reporter: Galder Zamarreno
Assigned To: Manik Surtani
Fix For: 2.0.0.GA, 2.0.0.CR1
Benchmark VersionAwareMarshaller to make it more performant. There's already a
unit test to use it as base: VersionAwareMarshallerPerfTest.
It should probably make comparison failures based on results from different
marshalling methods, i.e, if difference bigger than x, fail. Also add marshalling
different
types of objects.
Potential performance improvements:
- Using similar techniques as used in ExposedByteArrayOutputStream (JGroups) for VAM?
Needs profiling to determine effect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira