Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • mjsunit
  • es6
  • string-search.js
Find file
BlameHistoryPermalink
  • peterwmwong's avatar
    [builtins] Port String.prototype.{search, match} to CSA · 183eb36b
    peterwmwong authored Oct 10, 2017
    - Expose fast paths for RegExpPrototypeMatchBody/RegExpPrototypeSearchBody as TFS builtins
    - Add StringPrototypeMatch and StringPrototypeSearch TFJ builtins
      - Add StringMatchSearchAssembler to ensure same search/match behavior
    - Remove functionality from string.js
    
    A quick benchmark shows gains of 20-30% for unoptimized code and 0-20% for optimized code.
    https://github.com/peterwmwong/v8-perf/blob/master/string-search-match/README.md
    
    Bug: v8:5049
    Change-Id: I0fffee6e94e62ecae049c9e5798da52d67ae1823
    Reviewed-on: https://chromium-review.googlesource.com/707824
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48452}
    183eb36b
string-search.js 836 Bytes
EditWeb IDE

Replace string-search.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.