repositories
/
benchmarks-js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1 from jerome-benoit/dependabot/npm_and_yarn/nanoid-3.2.0
[benchmarks-js.git]
/
promise-handling.js
diff --git
a/promise-handling.js
b/promise-handling.js
index 182ba772bef44b6c60ced6f74e6e1d79a15920ec..03a78e282d1d983d743dd12da207bdeae1b75b96 100644
(file)
--- a/
promise-handling.js
+++ b/
promise-handling.js
@@
-3,10
+3,16
@@
const { LIST_FORMATTER } = require('./benchmark-utils')
const suite = new Benchmark.Suite()
+/**
+ *
+ */
function promise () {
return new Promise()
}
+/**
+ *
+ */
async function asyncFunction () {
await promise()
}