Duplicate output in atom
Closed this issue · 0 comments
Arkoniak commented
Thank you very much for this package, I really like the idea! It would be really helpful to have more sophisticated Profiler.
As for the task, I can see strange behavior in atom
, the output is getting printed twice:
using OwnTime
using Profile
function myfunc()
A = rand(200, 200, 400)
maximum(A)
end
myfunc()
@profile myfunc()
owntime()
# Output
julia> [1] 75% => poptaskref(::Base.InvasiveLinkedListSynchronized{Task}) at task.jl:660
[2] 16% => dsfmt_fill_array_close_open!(::Random.DSFMT.DSFMT_state, ::Ptr{Float64}, ::Int64) at DSFMT.jl:95
[3] 4% => Array at boot.jl:408 [inlined]
[4] 3% => _fast at reduce.jl:454 [inlined]
[5] 1% => include_string(::Module, ::String, ::String) at loading.jl:1075
[1] 75% => poptaskref(::Base.InvasiveLinkedListSynchronized{Task}) at task.jl:660
[2] 16% => dsfmt_fill_array_close_open!(::Random.DSFMT.DSFMT_state, ::Ptr{Float64}, ::Int64) at DSFMT.jl:95
[3] 4% => Array at boot.jl:408 [inlined]
[4] 3% => _fast at reduce.jl:454 [inlined]
[5] 1% => include_string(::Module, ::String, ::String) at loading.jl:1075
I suppose it interferes somehow with Atom internal functions, because everything is fine in Jupyter
and REPL
.
Atom version: https://gist.github.com/Arkoniak/cc487f4e57b2f2fc107bc888141651da