Integrated: bot: add profile handler

Erik Helin ehelin at
Fri May 28 18:18:42 UTC 2021

On Mon, 24 May 2021 13:49:08 GMT, Erik Helin <ehelin at> wrote:

> Hi all,
> please review this patch that adds a "profiling handler" typically listening on the `/profile` path. The profile handler will create a JFR recording that is sent as the reply to the HTTP request. The handler needs to configure a max duration (in seconds) for the recording and and a path to the `.jfc` configuration file. I made sure that only recording is allowed at a time to prevent too many requests to slow down the system too much.
> Testing:
> - [x] Tested locally on Linux x64 with various bots and configurations
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 92bf2dcc
Author:    Erik Helin <ehelin at>
Stats:     156 lines in 3 files changed: 155 ins; 0 del; 1 mod

bot: add profile handler

Reviewed-by: erikj



More information about the skara-dev mailing list