ironic/tools/benchmark
Dmitry Tantsur 1f509c5bde Fix the benchmark job
This is a price to pay for using private API and not having unit tests :)

Change-Id: Ie400a73eb2036678ed9446e0b499301cc2b690dd
2022-02-09 10:11:49 +01:00
..
README Add basic tools for benchmarking 2021-05-24 16:36:02 +00: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 Fix the benchmark job 2022-02-09 10:11:49 +01:00

README

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.