# XmlFriendlyReplacer Benchmark

## Size of serialized data

### Field Target

Product | bytes
--- | ---
| 353514.0 |

### Field with underscores Target

Product | bytes
--- | ---
| 353914.0 |

### Field with dollars Target

Product | bytes
--- | ---
| 353914.0 |

## Character count for '$'

### Field Target

Product | characters
--- | ---
| 0.0 |

### Field with underscores Target

Product | characters
--- | ---
| 0.0 |

### Field with dollars Target

Product | characters
--- | ---
| 100200.0 |

## Character count for '_'

### Field Target

Product | characters
--- | ---
| 0.0 |

### Field with underscores Target

Product | characters
--- | ---
| 100200.0 |

### Field with dollars Target

Product | characters
--- | ---
| 0.0 |

## Serialization speed (50 iterations)

### Field Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 7788.0 |
Combined Lookup Appending | 9173.0 |
Combined Lookup Appending (16) | 7628.0 |
Combined Lookup Replacer | 7806.0 |
Combined Lookup Replacer (16) | 7817.0 |
Iterative Appender | 7634.0 |
Iterative Appender (16) | 7785.0 |
Iterative Replacer | 7787.0 |
Iterative Replacer (16) | 7937.0 |
Separate Lookup Replacer | 7779.0 |
Separate Lookup Replacer (16) | 7765.0 |

### Field with underscores Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 7971.0 |
Combined Lookup Appending | 8416.0 |
Combined Lookup Appending (16) | 8197.0 |
Combined Lookup Replacer | 8477.0 |
Combined Lookup Replacer (16) | 8673.0 |
Iterative Appender | 7818.0 |
Iterative Appender (16) | 9497.0 |
Iterative Replacer | 8003.0 |
Iterative Replacer (16) | 8010.0 |
Separate Lookup Replacer | 8422.0 |
Separate Lookup Replacer (16) | 8528.0 |

### Field with dollars Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 8038.0 |
Combined Lookup Appending | 9266.0 |
Combined Lookup Appending (16) | 9174.0 |
Combined Lookup Replacer | 8888.0 |
Combined Lookup Replacer (16) | 8926.0 |
Iterative Appender | 8337.0 |
Iterative Appender (16) | 8402.0 |
Iterative Replacer | 9186.0 |
Iterative Replacer (16) | 8299.0 |
Separate Lookup Replacer | 8540.0 |
Separate Lookup Replacer (16) | 8617.0 |

## Deserialization speed (50 iterations)

### Field Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 15346.0 |
Combined Lookup Appending | 13864.0 |
Combined Lookup Appending (16) | 13438.0 |
Combined Lookup Replacer | 13480.0 |
Combined Lookup Replacer (16) | 13700.0 |
Iterative Appender | 14062.0 |
Iterative Appender (16) | 13926.0 |
Iterative Replacer | 13634.0 |
Iterative Replacer (16) | 13496.0 |
Separate Lookup Replacer | 13630.0 |
Separate Lookup Replacer (16) | 13985.0 |

### Field with underscores Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 15547.0 |
Combined Lookup Appending | 14747.0 |
Combined Lookup Appending (16) | 14816.0 |
Combined Lookup Replacer | 16730.0 |
Combined Lookup Replacer (16) | 15099.0 |
Iterative Appender | 13857.0 |
Iterative Appender (16) | 13982.0 |
Iterative Replacer | 16226.0 |
Iterative Replacer (16) | 16218.0 |
Separate Lookup Replacer | 15496.0 |
Separate Lookup Replacer (16) | 15151.0 |

### Field with dollars Target

Product | ms
--- | ---
XStream 1.2.2 Replacer | 14163.0 |
Combined Lookup Appending | 14140.0 |
Combined Lookup Appending (16) | 14360.0 |
Combined Lookup Replacer | 14938.0 |
Combined Lookup Replacer (16) | 14771.0 |
Iterative Appender | 13549.0 |
Iterative Appender (16) | 13679.0 |
Iterative Replacer | 14890.0 |
Iterative Replacer (16) | 15030.0 |
Separate Lookup Replacer | 15437.0 |
Separate Lookup Replacer (16) | 17536.0 |

Fri Sep 14 23:41:12 CEST 2007 - Sun JDK 1.6.0_02/Linux x86 - AMD Athlon XP 2700+ (2.1Ghz)