public class ParserBenchmark
extends java.lang.Object
HierarchicalStreamDriver
implementations.Modifier and Type | Class and Description |
---|---|
static class |
ParserBenchmark.DataFactory
Data factory.
|
static class |
ParserBenchmark.DriverFactory
Driver factory.
|
Constructor and Description |
---|
ParserBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initialize the XStream instance and instantiate the driver for the benchmark.
|
void |
parseBigText()
Parse an element with a big text as value.
|
void |
parseManyChildren()
Parse an element with a lot of simple children.
|
void |
parseNestedElements()
Parse a deeply nested structure.
|
void |
setUp(BenchmarkParams params)
Setup the data to deserialize.
|
public void init()
public void setUp(BenchmarkParams params)
params
- the parameters of the benchmarkpublic void parseBigText()
public void parseNestedElements()
public void parseManyChildren()
Copyright © 2004–2024 XStream. All rights reserved.