You seem to be benchmarking in global scope. Use BenchmarkTooks.jl for these kinds of microbenchmarks.