mp.guides.performance-tuning.adoc Maven / Gradle / Ivy
The newest version!
///////////////////////////////////////////////////////////////////////////////
Copyright (c) 2022, 2023 Oracle and/or its affiliates.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
///////////////////////////////////////////////////////////////////////////////
= Performance Tuning
:description: Helidon MP Performance Tuning
:feature-name: Performance Tuning
:microprofile-bundle: true
:keywords: helidon, microprofile, micro-profile, performance, tuning
:rootdir: {docdir}/../..
include::{rootdir}/includes/mp.adoc[]
== Introduction
In this guide you fill find basic advice for performance tuning of your Helidon application.
Most of this concerns tuning Helidon WebServer, but you should also consider configuring/tuning
Java heap size as per any Java application.
== Use `io.helidon.microprofile.bundles:helidon-microprofile-core`
Use `helidon-microprofile-core` dependency (and not the `helidon-microprofile` dependency) and add only what you use. For example:
[source,xml]
----
io.helidon.microprofile.bundles
helidon-microprofile-core
io.helidon.microprofile.metrics
helidon-microprofile-metrics
io.helidon.microprofile.health
helidon-microprofile-health
----
include::{rootdir}/includes/guides/performance-tuning.adoc[]