Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O OpenLDAP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Bugzilla
    • Bugzilla
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • openldap
  • OpenLDAP
  • Merge requests
  • !346

Draft: Client performance statistics

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed James Lowden requested to merge jklowden/openldap:stats into master Jun 17, 2021
  • Overview 7
  • Commits 8
  • Pipelines 2
  • Changes 16

Add statistics gathering and reporting to utilities in tests/progs.

Create new command-line option -% filename for C programs. For the scripts, the environment variable TESTER_STATS; if set to a filename, route statistics there by invoking the C program with the value of that variable as an argument to -%.

When writing statistics output, the client detects whether the output file is a FIFO or not. If not, the output is printed as test. If it's a FIFO, it was created by slapd-tester.c, which reads and coordinates client statistics display. The client writes a portion of a server struct in binary form for slapd-tester to read and display to filename.

Please see tests/STATS.md for further details.

Edited Dec 06, 2021 by Ondřej Kuzník
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: stats