v8/test/js-perf-test
Simon Zünd b7aa85fe00 [js-perf] Add benchmarks for capturing and serializing stack traces
This CL adds two sets of benchmarks. The first measures the effort
needed to walk the stack and create the data structure stored in
Error.stack, while the second measures the serialization of that
Error.stack data structure into a string.

R=petermarshall@chromium.org, yangguo@chromium.org

Bug: v8:8742
Change-Id: Ie7b86da5621cb186a036a3ec99692ec4d2048fba
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1505614
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60176}
2019-03-12 06:47:59 +00:00
..
Array Add non-COW inputs to Array.from benchmarks. 2018-11-02 11:41:06 +00:00
ArrayIndexOfIncludesPolymorphic [js-perf-test] Add Array#{indexOf,includes} micro-benchmark 2018-10-31 07:55:24 +00:00
ArrayInOperator [test] Add perf test for in operator on arrays 2019-02-20 22:36:13 +00:00
ArrayLiteralInitialSpreadLargeDoubleHoley [js-perf-tests] Add micro-benchmarks for copying double arrays. 2018-10-15 15:05:21 +00:00
ArrayLiteralInitialSpreadLargeDoublePacked [js-perf-tests] Fix micro-benchmark of spreading double arrays. 2018-10-15 17:41:16 +00:00
ArrayLiteralInitialSpreadLargeHoley Remove slow ArrayLiteralInitialSpread benchmarks to avoid timeout. 2018-08-29 14:50:59 +00:00
ArrayLiteralInitialSpreadLargePacked [js-perf-tests] Fix micro-benchmark of spreading double arrays. 2018-10-15 17:41:16 +00:00
ArrayLiteralInitialSpreadLargeSmiMap [js-perf-test] Add micro-benchmarks for spreading maps and sets. 2018-10-10 08:32:15 +00:00
ArrayLiteralInitialSpreadLargeSmiSet [js-perf-test] Fix spread set benchmark. 2018-10-12 08:43:58 +00:00
ArrayLiteralInitialSpreadSmallDoubleHoley [js-perf-tests] Add micro-benchmarks for copying double arrays. 2018-10-15 15:05:21 +00:00
ArrayLiteralInitialSpreadSmallDoublePacked [js-perf-tests] Fix micro-benchmark of spreading double arrays. 2018-10-15 17:41:16 +00:00
ArrayLiteralInitialSpreadSmallHoley Enable warmup and/or longer runs for ArrayLiteralInitialSpread. 2018-08-27 08:40:46 +00:00
ArrayLiteralInitialSpreadSmallPacked Rename and fix JSON data for ArrayLiteralInitialSpread benchmarks. 2018-08-28 10:45:38 +00:00
ArrayLiteralInitialSpreadSmallSmiMap [js-perf-test] Add micro-benchmarks for spreading maps and sets. 2018-10-10 08:32:15 +00:00
ArrayLiteralInitialSpreadSmallSmiSet [js-perf-test] Fix spread set benchmark (again). 2018-10-12 10:50:59 +00:00
ArrayLiteralSpread [test] Add JSTest benchmark for array literal spread. 2018-01-23 05:39:30 +00:00
ArraySort Revert "[builtins] Add FastCallFunction builtin that elides some checks" 2018-09-14 11:09:08 +00:00
AsyncAwait Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
BytecodeHandlers Call the right functions in bitwise bytecode handlers benchmarks. 2017-07-17 10:58:47 +00:00
Classes [js-perf-test] Add microbenchmarks for leaf constructors. 2017-08-08 05:25:31 +00:00
Closures [test] Add performance test for closures. 2016-12-05 13:10:44 +00:00
Collections [js-perf-test] Add Collection constructor and double type microbenchmarks 2017-11-16 07:21:05 +00:00
DataView [dataview] Improve JS performance test coverage for DataView 2018-07-03 09:06:24 +00:00
Dates [Intl] Add benchmark for toLocaleString/localeCompare 2018-11-07 18:08:16 +00:00
Exceptions Fixes for try-catch microbenchmark 2015-06-08 10:11:34 +00:00
ExpressionDepth [parser] Use n-ary addition for template strings 2017-10-31 16:02:53 +00:00
ForLoops [js-perf-test] add microbenchmarks for C-style for loops 2017-04-12 21:56:43 +00:00
Generators [esnext] Remove always-disabled support for function.sent 2018-02-26 20:01:41 +00:00
Inspector Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
Intl [Intl] Add perf test for Intl constructors 2019-02-07 01:08:12 +00:00
Iterators Use merged JSTest config for performance tests. 2014-12-05 08:43:19 +00:00
Keys reland [js-perf-test] Adding micro benchmarks for for-in and keys patterns. 2016-03-02 12:25:41 +00:00
ManyClosures [Test] Test case to investigate the impact of removing the weak list 2017-08-24 15:02:48 +00:00
Modules Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
Numbers [Intl] Add benchmark for toLocaleString/localeCompare 2018-11-07 18:08:16 +00:00
Object [test] Add micro benchmark for Object.create 2016-09-28 08:14:21 +00:00
ObjectFreeze add micro-benchmark for object freeze with tagged template 2019-02-09 18:13:48 +00:00
ObjectLiteralSpread Reland "Reland "[test] Add JSTest benchmark for object literal spread"" 2018-04-04 16:41:10 +00:00
Parsing [js-perf] Further reducing test-case size. 2018-08-30 11:41:30 +00:00
PropertyQueries [js-perf-tests] Fix PropertyQueries test for fast-delete 2017-05-05 15:57:36 +00:00
Proxies Fix JSTest/Proxies/Set.*Trap tests to return true from the trap 2019-02-11 16:03:35 +00:00
RegExp [Intl] Add perf tests for case insensitive test 2019-03-05 22:33:08 +00:00
RestParameters [elements] Rename FAST elements kinds 2017-06-30 13:31:44 +00:00
Scope For Micro-benchmarks for 'with' 2015-06-01 07:40:11 +00:00
SixSpeed [js-perf-tests] Add classes benchmarks from SixSpeed. 2017-04-19 11:23:48 +00:00
SpreadCalls [es6] implement spread calls 2015-04-09 19:37:19 +00:00
SpreadCallsGeneral Add warmup to SpreadCallsGeneral benchmarks. 2018-09-04 16:15:54 +00:00
StackTrace [js-perf] Add benchmarks for capturing and serializing stack traces 2019-03-12 06:47:59 +00:00
StringIterators Fix StringToList to set right length of the new array. 2018-10-24 13:30:51 +00:00
Strings [Intl] Add String toLocale(Lower|Upper)Case perf benchmark 2019-02-15 05:53:04 +00:00
Templates Perf tests for Template Literals 2014-12-12 05:14:28 +00:00
TurboFan [turbofan] Introduce a CheckStringAdd node instead of cons string lowering 2018-08-29 09:34:26 +00:00
TypedArrays [js-perf-test] Add TypedArray#filter micro-benchmark 2019-03-04 14:40:31 +00:00
base.js [test] Ensure random generator in JSTests does not use float arithmetic 2018-12-17 10:05:08 +00:00
JSTests.json [js-perf] Add benchmarks for capturing and serializing stack traces 2019-03-12 06:47:59 +00:00
OWNERS Add Peter as an owner of the JSTests benchmark 2018-02-13 02:49:25 +00:00
RegExp.json [Intl] Add perf tests for case insensitive test 2019-03-05 22:33:08 +00:00
SixSpeed.json Reland "[tools] Add benchmark owners to the config" 2018-05-16 13:53:49 +00:00