Package | Description |
---|---|
com.thoughtworks.xstream.tools.benchmark |
A simple harness for running benchmarks.
|
com.thoughtworks.xstream.tools.benchmark.metrics | |
com.thoughtworks.xstream.tools.benchmark.reporters | |
com.thoughtworks.xstream.tools.benchmark.targets |
Modifier and Type | Method and Description |
---|---|
void |
Harness.addTarget(Target target) |
void |
Reporter.endTarget(Target target) |
double |
Metric.run(Product product,
Target target)
Run the test and produce a metric.
|
void |
Reporter.startTarget(Target target) |
Modifier and Type | Method and Description |
---|---|
double |
DeserializationSpeedMetric.run(Product product,
Target target) |
double |
CharacterCountMetric.run(Product product,
Target target) |
double |
SerializationSpeedMetric.run(Product product,
Target target) |
double |
SizeMetric.run(Product product,
Target target) |
Modifier and Type | Method and Description |
---|---|
void |
TextReporter.endTarget(Target target) |
void |
MultiReporter.endTarget(Target target) |
void |
HtmlReporter.endTarget(Target target) |
void |
TextReporter.startTarget(Target target) |
void |
MultiReporter.startTarget(Target target) |
void |
HtmlReporter.startTarget(Target target) |
Modifier and Type | Class and Description |
---|---|
class |
BasicTarget
Target containing basic types.
|
class |
ExtendedTarget
Target containing extended types.
|
class |
JavaBeanTarget
Target containing basic types using the JavaBeanConverter.
|
class |
JTreeTarget
A Swing JTree instance, which is a suitably complex object graph.
|
class |
ListTarget
An ArrayList of user defined class (
Person ) instances to serialize. |
class |
ReflectionTarget
Target containing basic types using the ReflectionConverter.
|
class |
SerializableTarget
Target containing basic types using the SerializableConverter.
|
class |
StringTarget
A small java.lang.String target.
|
class |
UserDefinedClassTarget
A user defined class (
Person ) to serialize that contains a few simple fields. |
Copyright © 2004–2015 XStream. All rights reserved.