Add a benchmark for string transcoding.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2016 22:30:49 +0000 (22:30 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2016 22:30:49 +0000 (22:30 +0000)
commit2a050170b8a586aa477f8eb81434f0905fde959b
tree53dbfbc9acc0b51b7c9dc56834e893a8e94b30b2
parent60118e42129677db3edf1d57b4a83fe909121af2
Add a benchmark for string transcoding.

Rubber stamped by Saam Barati.

I wrote some code like this while working on
https://github.com/WebAssembly/design/pull/573. I thought I'd add it as a benchmark since
it stresses things that we may not have good bench coverage for.

* js/regress/script-tests/string-transcoding.js: Added.
(decodeUTF8):
(encodeUTF8):
(arraysEqual):
(arrayToString):
(setHeader):
(print):
(tryArray):
(doSteps):
* js/regress/string-transcoding-expected.txt: Added.
* js/regress/string-transcoding.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/js/regress/script-tests/string-transcoding.js [new file with mode: 0644]
LayoutTests/js/regress/string-transcoding-expected.txt [new file with mode: 0644]
LayoutTests/js/regress/string-transcoding.html [new file with mode: 0644]