Skip to content

Commit

Permalink
Changed benchmark to reflect larger text/attributes
Browse files Browse the repository at this point in the history
This is to ensure that the benchmarking isn't skewed towards small
attribute values, and documents without significant portions of text,
which it was before #126
  • Loading branch information
Erik Mogensen committed Sep 30, 2018
1 parent b9fccbc commit dc90ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var suite = new benchmark.Suite('XML parsers comparison')
parsers.forEach(function (parser) {
parser.parse('<r>')
suite.add(parser.name, function () {
parser.parse('<foo bar="baz">quux</foo>')
parser.parse('<foo bar="urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6">urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6 urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</foo>')
})
})

Expand Down

0 comments on commit dc90ab2

Please sign in to comment.