Integrated: bot: add performance metrics for work items
ehelin at openjdk.java.net
Fri May 28 09:30:28 UTC 2021
On Wed, 26 May 2021 13:51:02 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
> please review this patch that adds runtime performance metrics for work items. I have added three new gauges:
> - `skara_runner_cpu_time`
> - `skara_runner_user_time`
> - `skara_runner_allocated_bytes`
> All three are per work item and make use of the `ThreadMXBean` to set the gauges. We can use the methods in `ThreadMXBean` because the `Runnable` that is running on a thread in the thread pool cannot be preempted or moved to another thread, i.e. it will have the same "carrier" thread for its whole execution.
> - [x] Manual testing on Linux x64 using the mirror bot
This pull request has now been integrated.
Author: Erik Helin <ehelin at openjdk.org>
Stats: 96 lines in 2 files changed: 95 ins; 0 del; 1 mod
bot: add performance metrics for work items
More information about the skara-dev