添加新评论

Don't know if it will work, but you might want to consider having the workers call a function that looks something like this:

function profile_function(func, args...)
    Profile.clear()
    ret = @profile apply(func, args)
    pdata = Profile.retrieve()
    ret, pdata
end

pdata should contain the profiling data from that worker. You should be able to view it in ProfileView.

添加新评论

受限制的 HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。