1. 05 Feb, 2019 1 commit
  2. 06 Dec, 2018 1 commit
  3. 14 Nov, 2018 2 commits
  4. 29 Oct, 2018 1 commit
  5. 11 Oct, 2018 1 commit
  6. 13 Aug, 2018 1 commit
  7. 06 Aug, 2018 1 commit
  8. 23 Jul, 2018 1 commit
  9. 11 Jun, 2018 1 commit
    • Sigurd Schneider's avatar
      [turbofan] Add inlining for RegExp#test · 394d53d1
      Sigurd Schneider authored
      This CL adds a TFS stub for RegExp#test and moves several checks to
      the JSCallReducer. In particular, the JSCallReducer checks that
       - property {exec} on the regexp is still the original exec
       - property {lastIndex} on the regexp is a non-negative smi
      The stub does not repeat these checks in release mode.
      
      This effectively means that if the regexp is known, we can perform these
      checks at compile time, and get away with a map dependency.
      
      Bug: v8:7779, v8:7200
      
      Change-Id: I0c6d711d4f1d2f6f325a1c02855b0e1b62e014c8
      Reviewed-on: https://chromium-review.googlesource.com/1074654
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53630}
      394d53d1
  10. 17 May, 2018 1 commit
  11. 16 May, 2018 1 commit
  12. 12 Apr, 2018 1 commit
    • peterwmwong's avatar
      [builtins] Add fast paths to String.p.matchAll · ae4529f9
      peterwmwong authored
      Add fast paths when RegExp and RegExp result are fast wherever possible.
      
      As shown below, this CL improves the performance of calling S.p.matchAll and
      iterating over matches.
      
      Before:
      
      StringMatchAllBuiltinRegExpIteratorCreation-Strings(Score): 5002
      StringMatchAllBuiltinStringIteratorCreation-Strings(Score): 13798
      StringMatchAllBuiltinString-Strings(Score): 197
      StringMatchAllManualString-Strings(Score): 454
      StringMatchAllBuiltinRegExp-Strings(Score): 193
      StringMatchAllManualRegExp-Strings(Score): 453
      StringMatchAllBuiltinZeroWidth-Strings(Score): 97.2
      StringMatchAllBuiltinZeroWidthUnicode-Strings(Score): 95.9
      
      After:
      
      StringMatchAllBuiltinRegExpIteratorCreation-Strings(Score): 15437
      StringMatchAllBuiltinStringIteratorCreation-Strings(Score): 16708
      StringMatchAllBuiltinString-Strings(Score): 392
      StringMatchAllManualString-Strings(Score): 452
      StringMatchAllBuiltinRegExp-Strings(Score): 394
      StringMatchAllManualRegExp-Strings(Score): 484
      StringMatchAllBuiltinZeroWidth-Strings(Score): 409
      StringMatchAllBuiltinZeroWidthUnicode-Strings(Score): 413
      
      Bug: v8:6890
      Change-Id: I6fcc1003a471314cf412aac456d42286b2926810
      Reviewed-on: https://chromium-review.googlesource.com/1005400
      Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52581}
      ae4529f9
  13. 05 Apr, 2018 1 commit
  14. 23 Feb, 2018 1 commit
  15. 02 Feb, 2018 1 commit
  16. 17 Nov, 2017 1 commit
  17. 23 Aug, 2017 1 commit
  18. 21 Apr, 2017 5 commits
  19. 11 Apr, 2017 1 commit
  20. 10 Apr, 2017 1 commit
  21. 06 Apr, 2017 3 commits
  22. 31 Mar, 2017 1 commit
  23. 21 Mar, 2017 1 commit
  24. 16 Mar, 2017 3 commits
  25. 03 Feb, 2017 1 commit
  26. 02 Feb, 2017 3 commits