Disable URLParser logs by default in all builds
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Oct 2016 19:03:13 +0000 (19:03 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Oct 2016 19:03:13 +0000 (19:03 +0000)
commit04fc90afc80096c9585703d74c0262f2a2b756b5
treed59af17d0760364fa4b02c942cdd3bd13f91e038
parent3b89d4b97a79a8dfdf0bf9fcabce509db9cc5090
Disable URLParser logs by default in all builds
https://bugs.webkit.org/show_bug.cgi?id=163135

Reviewed by Brady Eidson.

In debug builds with the URLParser enabled, some tests time out because
parameters to generate log strings are being evaluated for each character of each URL
and then not being used if URLParser logs are disabled.  Generating these unused parameters
is too slow even for debug builds.  Let's only generate them if they are to be used.

No change in behaviour.

* platform/URLParser.cpp:
(WebCore::URLParser::parse):
(WebCore::URLParser::allValuesEqual):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/URLParser.cpp