ironic/tools/benchmark
Dmitry Tantsur 3f990beb97 Refactor common configuration bits from service commands
The prepare_service call from ironic.common.service is changed to also
configure guru meditation and profiler. A new call prepare_command is
provided for the cases it's not required.

Change-Id: I5b9b7b7bc827c8bcda06e9a967deae8577ad87f4
2021-12-01 12:19:33 +01:00
..
do_not_run_create_benchmark_data.py Refactor common configuration bits from service commands 2021-12-01 12:19:33 +01:00
generate-statistics.py Refactor common configuration bits from service commands 2021-12-01 12:19:33 +01:00
README Add basic tools for benchmarking 2021-05-24 16:36:02 +00:00

This folder contains two files:

* do_not_run_create_benchmark_data.py - This script will destroy your
  ironic database. DO NOT RUN IT. You have been warned!
  It is is intended to generate a semi-random database of node data
  which can be used for benchmarks, instead of crafting a raw SQL file
  representing a test model

* generate-statistics.py - This is a utility some statistics to both
  aid in basic benchmarking of ironic operations *and* provide developers
  with conceptual information regarding a deployment's size. It operates
  only by reading the data present and timing how long the result take to
  return as well as isolating some key details about the deployment.