• Toon Verwaest's avatar
    Reland "[json] Speed up json parsing" · bbd740f0
    Toon Verwaest authored
    This is a reland of b0c4a876
    
    Original change's description:
    > [json] Speed up json parsing
    >
    > - scan using raw data pointers + GC callback
    > - scan using scanner tables
    > - cap internalizing large string values
    > - inline fast transitioning logic
    >
    > Fixes previous CL by moving AllowHeapAllocation to callers of
    > ReportUnexpectedCharacter where needed to make it clear we need to exit.
    >
    > Tbr: ulan@chromium.org
    > Change-Id: Icfbb7cd536e0fbe153f34acca5d0fab6b5453d71
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1591778
    > Reviewed-by: Igor Sheludko <ishell@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#61159}
    
    Tbr: verwaest@chromium.org
    Cq-Include-Trybots: luci.v8.try:v8_linux64_msan_rel
    Change-Id: Ic7d0057178c649fc45b8c8f4587ee9128e351515
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1593292
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61179}
    bbd740f0
BUILD.gn 139 KB