Last active
July 8, 2016 12:03
-
-
Save taylonr/da5fd7c02959d48de9020811c57ff88a to your computer and use it in GitHub Desktop.
BencheeMacro
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
defmodule MyMacros do | |
defmacro benchee(suite, name, function) do | |
quote do | |
benchee.benchmark(unquote(suite), unquote(name), unquote(function)) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment