> For the complete documentation index, see [llms.txt](https://docs.akamas.io/quick-guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akamas.io/quick-guides/quick-guides-akamas-in-a-box/aiab-01-optimize-a-java-based-application-renaissance-benchmark.md).

# \[AIAB-01] Optimize a Java-based application (Renaissance benchmark)

In this guide, you will learn how to optimize the performance of your first Java application with Akamas.

For your very first optimization, the target application will be Renaissance, a sample Java benchmark that comes already shipped with Akamas-in-a-box - no need to install anything! The optimization goal is to make Renaissance run faster (minimize the response time of the benchmark iterations). You will leverage Akamas to automatically identify the optimal JVM parameters (like the size of the heap and inner pools, type of garbage collector, etc.) that can speed up the application.

Enjoy your first optimization exercise on a simple benchmark application. Once you have completed your first optimizations, make sure to check out the other quick guides to feel the power of Akamas applied to real-world optimization scenarios.

Get ready for your first optimization!

#### **What you will learn** <a href="#user-content-what-you-will-learn" id="user-content-what-you-will-learn"></a>

* How to optimize the performance of a Java application
* The main Akamas concepts: system, optimization pack, telemetry instance, workflow and optimization study
* How to interact with Akamas through the CLI and web UI
* How to create, list, and delete Akamas resources

#### **What you will need** <a href="#user-content-what-you-will-need" id="user-content-what-you-will-need"></a>

* An Akamas instance installed with a valid license - see the Akamas In a Box guide
* Basic understanding of Akamas - you can watch a 2m video in the Welcome to Akamas guide.

Notice: all the configuration files used in this guide can be found on our [public GitHub repository](https://github.com/akamaslabs/java-quickstart).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.akamas.io/quick-guides/quick-guides-akamas-in-a-box/aiab-01-optimize-a-java-based-application-renaissance-benchmark.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
