Enable profiler and profile-guided builds

I used the chance to simplify the Makefile, as this is required for the file check to work correctly. Variables should not contain quotes, as these will be included in the value otherwise.
This commit is contained in:
Sebastian Serth
2023-02-26 20:16:08 +01:00
committed by Sebastian Serth
parent 00952ca212
commit 1a378ce640
5 changed files with 90 additions and 18 deletions

View File

@ -61,6 +61,14 @@ logger:
# Log level that is used after reading the config (INFO until then)
level: DEBUG
# Configuration of the embedded profiler
profiling:
# Enables the runtime profiler
enabled: false
# The file to which the profile is written to.
# The default location `cmd/poseidon/default.pgo` will be picked up during the build process to create a profile-guided build.
file: cmd/poseidon/default.pgo
# Configuration of the sentry logging
sentry:
# The DSN of the sentry endpoint to use.