repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[benchmarks-js.git]
/
random.js
diff --git
a/random.js
b/random.js
index 15183472bc9b10a8ba9184b80fca3c82388a536c..8c0fa86e669b384e4d812478e00b6a61716031c8 100644
(file)
--- a/
random.js
+++ b/
random.js
@@
-1,9
+1,9
@@
+const crypto = require('crypto')
const Benchmark = require('benny')
const {
secureRandom,
secureRandomWithRandomValues
} = require('./benchmark-utils')
const Benchmark = require('benny')
const {
secureRandom,
secureRandomWithRandomValues
} = require('./benchmark-utils')
-const crypto = require('crypto')
const maximum = 281474976710654
const maximum = 281474976710654
@@
-100,4
+100,6
@@
Benchmark.suite(
format: 'table.html',
details: true
})
format: 'table.html',
details: true
})
-)
+).catch(err => {
+ console.error(err)
+})