v8/test
jbroman bf511b426e ValueSerializer: Support efficiently reading and writing one-byte strings.
memcpy is faster than UTF-8 encoding/decoding. This yields 10-20% wins on
serializing and deserializing long ASCII strings, according to
blink_perf.bindings -- and these are already in a fast path where the entire
string is known to be ASCII (but this has to be checked). The win may be
larger for strings in Latin-1 but not ASCII (though I suspect this is an
uncommon case).

A change is also made to make ValueSerializerTest.EncodeTwoByteStringUsesPadding
survive wire format version number changes.

This is the first of a series of wire format changes from the previous Blink
format. The deserializer continues to be able to read the old format, but
Chromium M56 will no longer be able to read the messages written by this, in M58.

BUG=chromium:686159

Review-Url: https://codereview.chromium.org/2658793004
Cr-Commit-Position: refs/heads/master@{#42753}
2017-01-28 05:52:05 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [parser] Skipping inner funcs: produce correct data for var redeclarations. 2017-01-27 16:33:36 +00:00
common [iwyu] Include handles.h less. 2017-01-27 13:53:13 +00:00
debugger [tests] Make assertOptimized()/assertUnoptimized() great again. 2017-01-27 10:13:53 +00:00
fuzzer [wasm] Fix the --wasm_code_fuzzer_gen_test again. 2017-01-25 14:10:04 +00:00
inspector [wasm] Interpreter: Don't pause on invalid position 2017-01-27 09:48:08 +00:00
intl Fix two DCHECK failures in ICU case mapping code 2017-01-13 23:12:43 +00:00
js-perf-test [Test] Add micro-benchmarks for super-calls with spread. 2017-01-26 11:31:05 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [wasm] Generate correct locations for error messages 2016-12-12 12:46:02 +00:00
mjsunit [d8] Use ValueSerializer for postMessage (instead of ad-hoc serializer) 2017-01-27 20:15:37 +00:00
mozilla [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 Revert of [test] Speculatively remove local-tests from archive (patchset #2 id:20001 of https://codereview.chromium.org/2643983002/ ) 2017-01-19 07:58:43 +00:00
unittests ValueSerializer: Support efficiently reading and writing one-byte strings. 2017-01-28 05:52:05 +00:00
webkit Turn on icu_case_mapping by default 2017-01-19 21:45:12 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Properly define v8_enable_inspector and its override in GN. 2016-11-21 19:29:38 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [test] Isolate files the perf runner depends on 2016-11-08 10:25:13 +00:00