Apache Camel Performances Tests Repository

Clone this repo:
  1. 0022c3c ai-benchmark: a handled failure is not an error of a step, and route/batch-file joins the new set by Claus Ibsen · 27 hours ago main
  2. fc47b23 ai-benchmark: six more ladder examples run once a week by Claus Ibsen · 29 hours ago
  3. 9175ca3 ai-benchmark: the harness stops only its own Camel apps and the infra services it started by Claus Ibsen · 6 days ago
  4. f3bb739 ai-benchmark: results.json keeps the times of every counted error record, and when the last version began by Claus Ibsen · 6 days ago
  5. 5ab198f ai-benchmark: the last version starts at the reload of the last write, by the time the app logged it by Claus Ibsen · 6 days ago

Apache Camel Performance Tests

This project provides performance tests for Apache Camel.

Running the Performance Tests

Camel JMH

The performance tests located in the camel-jmh module can be run using the following command:

mvn -l camel-${version}-jmh-test.log -DargLine="-XX:+UseNUMA -Xmx4G -Xms4G -server" -Dcamel.version=${version} -Pjmh -Dtest=${TESTS}  clean test

Where:

  • ${version} is the Apache Camel version to use.
  • ${TESTS} is a comma-separated list of tests to run (e.g., AggregatorTest,ContentBasedRouterBodyTest).

After running the tests, the results are stored in JMH JSON files (i.e.: <test name>.jmh.json).

AI benchmark

The ai-benchmark directory holds a harness that measures how well an AI model builds and edits Camel integrations through the Camel MCP server, scored by what runs. See ai-benchmark/README.md and the blog post https://camel.apache.org/blog/2026/09/camel-local-model-benchmark/ for the first series.