jsoftware / jsource

J engine source mirror
Other
645 stars 91 forks source link

Feature request: time consumed by a single thread #143

Open rdm opened 1 year ago

rdm commented 1 year ago

A primary purpose of threading is improved resource management. However, threading also makes measuring performance more difficult.

It would be Really Nice if we had some way of measuring the time consumed by a single thread. This might be something analogous to 6!:1 and/or 6!:2 which only included time spent within that thread. This would probably involve some (hopefully minimal) approximations.