Skip to content

Add and improve benchmarks for escape / unescape routines #404

@dralley

Description

@dralley

Currently there are none for escaping text, and very few for unescaping text, which don't actually exercise the code very heavily.

From looking at flamegraphs of my program, escaping text tends to be very expensive currently and is a good optimization candidate. Not sure if that is broadly generalizable or specific to my program, but it's worth mentioning.

It would be appropriate to consider small, medium and large inputs (attribute-sized inputs vs text) with varying numbers of escapable characters.

Metadata

Metadata

Assignees

Labels

enhancementoptimizationIssues related to reducing time needed to parse XML or to memory consumption

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions