repositories
/
benchmarks-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e74a3
)
Remove now unused helper
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 24 Oct 2022 20:44:46 +0000
(22:44 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 24 Oct 2022 20:44:46 +0000
(22:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmark-utils.js
patch
|
blob
|
blame
|
history
diff --git
a/benchmark-utils.js
b/benchmark-utils.js
index 35b47f9c456b1f9cfee33a445d8ddfc9f848adee..5694a9710aa81dadc94acab652900aa68f3a01ea 100644
(file)
--- a/
benchmark-utils.js
+++ b/
benchmark-utils.js
@@
-69,16
+69,10
@@
async function sleep (ms) {
return new Promise(resolve => setTimeout(resolve, ms))
}
-const LIST_FORMATTER = new Intl.ListFormat('en-US', {
- style: 'long',
- type: 'conjunction'
-})
-
module.exports = {
generateRandomInteger,
generateRandomFloat,
generateRandomNumberArray,
sleep,
- secureRandom,
- LIST_FORMATTER
+ secureRandom
}