@time a module

I want to know how long it takes to run a module.


julia> @time module Foo; x = 1 end
ERROR: syntax: "module" expression not at top level

How can I do that?

you can time an include() or using