Skip to content

Commit

Permalink
Add minor cosmetic change on bench code
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed May 21, 2023
1 parent cee9858 commit d0ff423
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/bench.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@

(defn bench-native-promise-then
[done]
(-> (js/Promise.resolve 1)
(-> (js/Promise.resolve nil)
(.then done)))

(defn bench-builtin-promise-then
[done]
(-> (prm/resolved 1)
(-> (prm/resolved nil)
(.then done)))

(defn bench-builtin-promise-fmap
[done]
(-> (prm/resolved 1)
(-> (prm/resolved nil)
(.fmap done)))

(defn exit
Expand Down

0 comments on commit d0ff423

Please sign in to comment.