In a simple script
using SymEngine function test() @vars q1, q2 return q1+q2 end # function test @time test()
we measure the time by using @time, and then we check the timing in the script run like
[ ~/works/Miracle/NumAMF.jl/compilation @XEON ]:zhaoli$ time julia test.jl
However, the time and @time gives quite difference answers. What could be the reason for this?
0.000021 seconds (9 allocations: 368 bytes) real 0m1.059s user 0m1.091s sys 0m0.636s