Skip to main content

Creating an Optimization

Learn how to create and configure an optimization in Artemis to find the best-performing combination of your code versions.

There are two ways to create a new optimization.

From within a project

On the Targets page, click the Optimisations button in the top right. A dropdown will appear — select New optimisation.

New optimisation from Targets page

From the Optimisations page

Navigate to the top-level Optimisations tab. Click New Optimisation in the top right to select a project and start a new optimization.

New Optimisation from Optimisations page


Step 1: Choose the code versions to combine

After arriving at the new optimization page, you'll see a table of all available code versions for your targets.

Choosing the versions to optimize

The table shows:

  • Location — the target file path
  • Versions — all generated versions (v1, v2, etc.)
  • New Scores — performance score indicators for each version
  • Checks — validation status (green = passed)
  • Runtime, CPU Time, Memory — performance metrics per version

Selection tips:

  • Keep the Original as a baseline
  • Prioritise versions with green scores that have passed validation
  • Focus on the best-performing versions to keep the optimization process efficient

Step 2: Configure and create

Once you've selected your versions, configure the optimization settings.

Optimization configuration

  • Optimization Name — enter a descriptive name to identify this optimization later
  • Benchmark Repetitions — number of times each version will run. Higher values improve accuracy but take longer. Results will be averaged across runs.
  • Runner — select your connected runner. Make sure it's set up before proceeding. See Artemis Custom Runner.

Click Create Optimisation to start the process. You'll be redirected to the optimization management page.

Created optimization


Next Steps

  1. Review optimization results
  2. Actions on optimized versions