Created
December 22, 2022 17:07
-
-
Save caderek/982175f42a8c34a0dd66f0eb1ac9960f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import b from "benny"; | |
import calculateWithObject from "./calculate-with-object.js"; | |
import calculateWithMap from "./calculate-with-map.js"; | |
b.suite( | |
"calculate", | |
b.add("calculate with object", () => { | |
calculateWithObject("average", 1, 1); | |
}), | |
b.add("calculate with map", () => { | |
calculateWithMap("average", 1, 1); | |
}), | |
b.cycle(), | |
b.complete() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment