#6048 performance regression in CLI help
Closed: Fixed Opened by pvoborni.

executing ipa help <anything> takes 6+ seconds. This is a performance regression caused by thin client effort.

ipa help should be at least as quick(1-2s?) as in versions prior 4.4. Ideally faster.


Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1356146

master:

  • 47a693d17430e82787d9704637c022a2fcac531a schema: Speed up schema cache
  • 29f7f822aba674ebc4184ecc126854adb4330a89 frontend: Change doc, summary, topic and NO_CLI to class properties
  • 86977070e12329be02ef5ebb749c837a8d6d258f schema: Introduce schema cache format
  • 23609d59559f15d4414ce87b850b6e845ed1cd40 schema: Generate bits for help load them on request
  • e76b0bbbcc77aa0473f209beeb538c8313172c66 help: Do not create instances to get information about commands and topics

The issue is not fixed completely, reopening the ticket.

master:

  • ba16d99f37a3dcdd7ca74fcdaa1b2dea8b0a74bf schema cache: Do not reset ServerInfo dirty flag
  • 134fd235a23071c51d1ef4ec7ad24159c9304b9d schema cache: Do not read fingerprint and format from cache
  • e45e29f337fae83dc490721c769a86a5641d58f2 Access data for help separately
  • 83b46238e78af8d6d942119c4f6f55b8f508e1f4 frontent: Add summary class property to CommandOverride
  • 6716aaedc87964d7ddd510b12017216b63b1636c schema cache: Read server info only once
  • 87a6f746bcaad4d398227641f2c07c4f67235b56 schema cache: Store API schema cache in memory
  • 1b79ac67d709bbb9e665f0e741af89828281477d client: Do not create instance just to check isinstance
  • f2c26119f5bb0e45c3d85c9b13150ba503f492e8 schema cache: Read schema instead of rewriting it when SchemaUpToDate

Metadata Update from @pvoborni:
- Issue assigned to dkupka
- Issue set to the milestone: FreeIPA 4.4.1

Metadata