Thanks Kristoffer. But for Q2, I'm not sure I want to exclude gc time. Rather I want gc time to be correctly allocated. I'm not really sure how gc works, but I thought calling gc() before each function call would ensure there are no outstanding gc's that might happen during the call. In other words, If I do: @timed f1() @timed f2()
I want to avoid allocations in f1 being gc'd and timed during execution of f2. Maybe I'm just being ridiculously paranoid?
