Skip to content

Commit

Permalink
test: reduce the number of rehearsal executions
Browse files Browse the repository at this point in the history
It reduces test execution time.
  • Loading branch information
kou committed Jun 6, 2024
1 parent 2fc3f79 commit da67561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_xml_declaration_standalone

def test_gt_linear_performance_attribute_value
seq = [10000, 50000, 100000, 150000, 200000]
assert_linear_performance(seq) do |n|
assert_linear_performance(seq, rehearsal: 10) do |n|
REXML::Document.new('<test testing="' + ">" * n + '"></test>')
end
end
Expand Down

0 comments on commit da67561

Please sign in to comment.