v8/test/js-perf-test
Marja Hölttä 7ed989817a [super] Rewrite perf tests
- Add tests comparing super property access to normal property access
- Shift the work so that the framework takes less time and the thing
we're trying to measure takes more time.
- Optimize / disable the optimization for the target function, not the
whole test framework.
- Reduce the amount of boilerplate code in the tests.

Bug: v8:9237
Change-Id: Idde133298c9b8ffb3d49945ef9c67f5039634598
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2536635
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71196}
2020-11-16 08:36:24 +00:00
..
Array [benchmarks] Move Array slice benchmarks to js-perf-test 2019-05-20 09:05:52 +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
ArraySort Reland "[array] Move Array#sort pre-processing to Torque" 2019-05-24 12:13:17 +00:00
AsyncAwait [js-perf-test] Add flags for async benchmark 2020-07-01 12:04:46 +00:00
BigInt [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
BytecodeHandlers [perf-test] Add a performance test for LdaGlobal bytecodes 2019-10-09 16:34:33 +00:00
Classes
Closures
Collections [js-perf-test] Add more WeakMap perf tests 2019-03-25 10:47:29 +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
ExpressionDepth
ForLoops
Generators
IC [jsperf] Add benchmark for LoadConstantFromPrototype 2019-08-16 09:33:06 +00:00
Inspector Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
InterpreterEntryTrampoline [test] Add micro-benchmark tests for calls with local vars 2019-07-12 16:54:01 +00:00
Intl Add benchmark test for Intl.Locale 2019-05-15 16:58:28 +00:00
Iterators
Keys
ManyClosures [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
Modules Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
Numbers Add micro-benchmark for toString(16) 2020-07-30 07:15:32 +00:00
Object
ObjectFreeze add micro-benchmark of array.reduce, array.reduceRight for frozen object 2019-06-13 18:36:55 +00:00
ObjectLiteralSpread Reland "Reland "[test] Add JSTest benchmark for object literal spread"" 2018-04-04 16:41:10 +00:00
Operators [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
Parsing [js-perf] Further reducing test-case size. 2018-08-30 11:41:30 +00:00
PropertyQueries
Proxies add micro-benchmark for proxy trap setPrototypeOf 2019-06-25 16:18:52 +00:00
RegExp Add benchmark for regexp "gi". 2019-06-28 17:56:31 +00:00
RestParameters
Scope [cleanup][test] Fix typo in js-perf-test/Scope/with.js 2020-02-12 10:59:54 +00:00
SixSpeed
SpreadCalls
SpreadCallsGeneral Add warmup to SpreadCallsGeneral benchmarks. 2018-09-04 16:15:54 +00:00
StackTrace [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +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
SuperIC [super] Rewrite perf tests 2020-11-16 08:36:24 +00:00
Templates
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
JSTests1.json [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
JSTests2.json [benchmarks] Move Array slice benchmarks to js-perf-test 2019-05-20 09:05:52 +00:00
JSTests3.json [perf-test] Add a performance test for LdaGlobal bytecodes 2019-10-09 16:34:33 +00:00
JSTests4.json add micro-benchmark for proxy trap setPrototypeOf 2019-06-25 16:18:52 +00:00
JSTests5.json Add micro-benchmark for toString(16) 2020-07-30 07:15:32 +00:00
OWNERS [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
RegExp.json Add benchmark for regexp "gi". 2019-06-28 17:56:31 +00:00
SixSpeed.json Increase timeout for JSTests/Array test and fix Michael's username 2019-04-16 12:24:10 +00:00
SuperIC.json [super] Rewrite perf tests 2020-11-16 08:36:24 +00:00