v8/src/date
Zhang, Shiyu ad47996d7e Avoid a FixedArray allocation in date parser
During date parsing, a FixedArray is allocated to store intermediate values,
which is slow. This CL holds the values on stack instead to save time.

This increases the score of JetStream2 Date-format-tofte-SP case by ~2%
on WhiskeyLake Chromebook.

Contributed by hao.a.xu@intel.com

Change-Id: I0d7a20a3ad9c57e3a225fff03efc2e434b20fbbc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1726744
Commit-Queue: Shiyu Zhang <shiyu.zhang@intel.com>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63039}
2019-08-02 10:33:58 +00:00
..
date.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
date.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
dateparser-inl.h Avoid a FixedArray allocation in date parser 2019-08-02 10:33:58 +00:00
dateparser.cc Avoid a FixedArray allocation in date parser 2019-08-02 10:33:58 +00:00
dateparser.h Avoid a FixedArray allocation in date parser 2019-08-02 10:33:58 +00:00
OWNERS Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00