ruby-prof "Wait" column in the results: what is it? -
the results ruby-prof output contains value "wait" column. however, i've never found description of value , in times i've used ruby-prof, i've never seen column ever take on value other 0.
what value supposed represent? appreciated. thanks!
the wait column tells how long thread had wait, aka how long spent waiting other threads.
essentially thread wait resource being used thread. once thread done resource, notify other threads resource ready used.
to read more on multi threading ruby, check out:
http://www.ruby-doc.org/docs/programmingruby/html/tut_threads.html
keep in mind, wait concept not ruby, huge concept in multi threading.
Comments
Post a Comment