Skip to content

Allowing collecting index-specific internal metrics #23

@wangtzh

Description

@wangtzh

Some indexes may have their own sets of internal metrics that are meaningful to collect. For example, for an LSM tree like LevelDB we can collect compact speed. These are not included in standard PiBench metrics and are not needed for every index. It would be convenient for the index/wrapper developer to devise a set of metrics that can be summarized via PiBench, for easier stats gathering/plotting etc.

I don't have a concrete design in mind, but one potential solution may be for the index itself to still collect these extra metrics (which they already do), and they register a callback function in PiBench which is called after benchmark is done. What PiBench does is to simply summarize and display these metrics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions