Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Issue 1467133006: Add test to check PRNG quality. (Closed)

Created:
5 years ago by Yang
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add test to check PRNG quality. Credits go to Erik Corry. Taken from: https://github.com/dart-lang/fletch/blob/master/src/shared/random_test.cc R=jkummerow@chromium.org BUG=v8:4566 LOG=N Committed: https://crrev.com/1a90af55d1e9d7d84e813dc367d475457c7df1ff Cr-Commit-Position: refs/heads/master@{#32211} Committed: https://crrev.com/3d84f05cd77091ea8dde7821973f13f53dbaa730 Cr-Commit-Position: refs/heads/master@{#32238} Committed: https://crrev.com/eeee7ab050013782704b5f89e49d06a30b3455c4 Cr-Commit-Position: refs/heads/master@{#32246} Committed: https://crrev.com/713c3df41c152fb79fb53e8ed2bec476a620a79d Cr-Commit-Position: refs/heads/master@{#32254}

Patch Set 1 #

Patch Set 2 : add license #

Total comments: 2

Patch Set 3 : laywertext be gone. #

Patch Set 4 : do not call into js #

Patch Set 5 : split up tests. Add js test. #

Total comments: 1

Patch Set 6 : correctly set up random seed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -0 lines) Patch
M test/cctest/test-random-number-generator.cc View 1 2 3 4 5 1 chunk +124 lines, -0 lines 0 comments Download
A test/mjsunit/random-bit-correlations.js View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (18 generated)
Yang
5 years ago (2015-11-24 10:56:30 UTC) #1
Jakob Kummerow
lgtm
5 years ago (2015-11-24 12:33:27 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/20001
5 years ago (2015-11-24 13:30:15 UTC) #4
erikcorry
https://codereview.chromium.org/1467133006/diff/20001/test/cctest/test-random-number-generator.cc File test/cctest/test-random-number-generator.cc (right): https://codereview.chromium.org/1467133006/diff/20001/test/cctest/test-random-number-generator.cc#newcode85 test/cctest/test-random-number-generator.cc:85: // POSSIBILITY OF SUCH DAMAGE. You don't need this. ...
5 years ago (2015-11-24 13:45:14 UTC) #6
Yang
https://codereview.chromium.org/1467133006/diff/20001/test/cctest/test-random-number-generator.cc File test/cctest/test-random-number-generator.cc (right): https://codereview.chromium.org/1467133006/diff/20001/test/cctest/test-random-number-generator.cc#newcode85 test/cctest/test-random-number-generator.cc:85: // POSSIBILITY OF SUCH DAMAGE. On 2015/11/24 13:45:14, erikcorry ...
5 years ago (2015-11-24 13:46:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/40001
5 years ago (2015-11-24 13:47:10 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-24 14:14:53 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/1a90af55d1e9d7d84e813dc367d475457c7df1ff Cr-Commit-Position: refs/heads/master@{#32211}
5 years ago (2015-11-24 14:15:05 UTC) #13
Michael Achenbach
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1473613002/ by machenbach@chromium.org. ...
5 years ago (2015-11-24 14:49:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/60001
5 years ago (2015-11-24 20:27:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_TIMED_OUT, no build URL)
5 years ago (2015-11-24 22:27:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/60001
5 years ago (2015-11-25 01:28:50 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-25 01:42:04 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3d84f05cd77091ea8dde7821973f13f53dbaa730 Cr-Commit-Position: refs/heads/master@{#32238}
5 years ago (2015-11-25 01:42:17 UTC) #24
Yang
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1480533002/ by yangguo@chromium.org. ...
5 years ago (2015-11-25 05:15:33 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/80001
5 years ago (2015-11-25 07:19:53 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-25 07:35:35 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/eeee7ab050013782704b5f89e49d06a30b3455c4 Cr-Commit-Position: refs/heads/master@{#32246}
5 years ago (2015-11-25 07:36:21 UTC) #31
erikcorry
https://codereview.chromium.org/1467133006/diff/80001/test/mjsunit/random-bit-correlations.js File test/mjsunit/random-bit-correlations.js (right): https://codereview.chromium.org/1467133006/diff/80001/test/mjsunit/random-bit-correlations.js#newcode13 test/mjsunit/random-bit-correlations.js:13: return (Math.random() * Math.pow(2, 32)) >>> 0; This doesn't ...
5 years ago (2015-11-25 07:43:08 UTC) #32
Yang
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1472833004/ by yangguo@chromium.org. ...
5 years ago (2015-11-25 07:44:06 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/100001
5 years ago (2015-11-25 08:35:16 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-25 08:52:30 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467133006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467133006/100001
5 years ago (2015-11-25 08:53:12 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-25 08:55:39 UTC) #42
commit-bot: I haz the power
5 years ago (2015-11-25 08:56:27 UTC) #43
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/713c3df41c152fb79fb53e8ed2bec476a620a79d
Cr-Commit-Position: refs/heads/master@{#32254}

Powered by Google App Engine
This is Rietveld 408576698