Apache Camel Performances Tests Repository

Clone this repo:
  1. f950296 Added some basic documentation about running these JMH tests by Otavio Rodolfo Piske · 3 weeks ago main
  2. 9beb635 Added last group of missing tests by Otavio Rodolfo Piske · 11 months ago
  3. af10729 Use a fixed class name for the test input by Otavio Rodolfo Piske · 11 months ago
  4. 34e6a8e Add tests for other commonly used methods by Otavio Rodolfo Piske · 11 months ago
  5. 975997b Use the correct method in the StringHelperTest by Otavio Rodolfo Piske · 12 months 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).