Skip to content

Commit

Permalink
Increase repeat orders of magnitude
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 4, 2023
1 parent b2e282f commit cfbeade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/uri/test_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_parse_timeout
pre = ->(n) {
'https://example.com/dir/' + 'a' * (n * 100) + '/##.jpg'
}
assert_linear_performance((1..10).map {|i| i * 100}, rehearsal: 1000, pre: pre) do |uri|
assert_linear_performance((1..3).map {|i| 10**i}, rehearsal: 1000, pre: pre) do |uri|
assert_raise(URI::InvalidURIError) do
URI.parse(uri)
end
Expand Down

0 comments on commit cfbeade

Please sign in to comment.