Skip to content

Long tezt: measure `tezt` start-up time

Arvid Jakobsson requested to merge arvid@ltf-tezt-startup into master

Context

Adds an LTF test that measures Tezt start-up time.

We've seen degradations of the start-up time recently, and this has a negative impact on developer performance.

Typically, we notice after the fact. LTF will help.

Manually testing the MR

$ docker-compose -f tezt/lib_performance_regression/local-sandbox/docker-compose.yml up -d
$ TEZT_CONFIG=tezt/lib_performance_regression/local-sandbox/tezt_config.json dune exec tezt/long_tests/main.exe -- --file tezt_load_time.ml -v

then go to http://localhost:3000 (or directly to http://localhost:3000/d/longtezts/long-tezts?orgId=1&viewPanel=39).

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports