Doesn’t @time itself allocate? I always use @btime and variable interpolation for reliable allocation estimates.
@time
@btime