Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • A apachedex
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedinexedi
  • apachedex
  • Merge requests
  • !11

Compute and display median

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Vincent Pelletier requested to merge vpelletier/apachedex:report_median into master Dec 27, 2023
  • Overview 0
  • Commits 2
  • Changes 2

Until now, what is reported is:

  • maximum query duration: unfortunately, with enough traffic there will always be outliers which are not representative of the normal user experience
  • average query duration: when maximum queries are orders of magnitude larger than the vast majority of queries (ex: hundreds of seconds vs. hundreds of milliseconds), it does not take many outliers to skew the average so much to be non-representative
  • score: this is more representative than the average query duration by eliminating the longest ones from the score

Adding a median allows giving a better idea of the query duration distribution. This is at the expense of a larger memory footprint, so make this support optional.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: report_median
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7