v8/tools/profviz
Simon Zünd 91bab5588c [array] Use random middle element to determine pivot during sorting
This CL adds a "random state" to the Smi Root list and implements a
basic Linear congruential pseudo random number generator in Torque.

The RNG is used to determine the pivot element for sorting. This will
prevent the worst cases for certain data layouts.

Drive-by-fix: Make sorting of ranges and execution pauses for profviz
deterministic by adding a secondary sorting criteria.

Bug: v8:7382
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Ieb871e98e74bdb803f821b0cd35d2f67ee0f2868
Reviewed-on: https://chromium-review.googlesource.com/1082193
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Simon Zünd <szuend@google.com>
Cr-Commit-Position: refs/heads/master@{#53524}
2018-06-05 14:11:37 +00:00
..
composer.js [array] Use random middle element to determine pivot during sorting 2018-06-05 14:11:37 +00:00
gnuplot-4.6.3-emscripten.js Fix common misspellings 2017-08-02 09:35:28 +00:00
profviz.css Include statistical profile into profviz. 2013-07-02 15:34:28 +00:00
profviz.html Add better consistency check and error output to plot script. 2013-09-04 15:19:21 +00:00
profviz.js [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
stdio.js [ic] Drop TimerEventScopes from *IC_Miss runtime functions 2016-11-10 13:10:25 +00:00
worker.js Remove snapshot log parsing and option from tools. 2016-04-05 15:31:32 +00:00