[Android] Use Blink UTF8<->UTF16 strings conversion in Gin Java Bridge
This patch is mainly for merging into M37. In trunk, we should fix base:: conversion routines instead. Blink UTF conversion routines are considerably faster than the ones from base::, especially on strings that only contain Latin-1 characters, so use them instead. This gives a 9% speed gain on Cordova's "exec" benchmark. BUG=391492 Review URL: https://codereview.chromium.org/377173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282017 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment