]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: improve hobject_t fmtlib formatter performance
authorRonen Friedman <rfriedma@redhat.com>
Sun, 18 Feb 2024 06:32:10 +0000 (00:32 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 21 Feb 2024 14:07:06 +0000 (08:07 -0600)
commitec1cd79b37153dd23391c742536d64df1ba8c52d
tree7cf652e82548afa8268fcb0027133dc39f2674d8
parent941d3f2aac87160f9d09de3e2f1ddea1e51e7275
common: improve hobject_t fmtlib formatter performance

The new version of the code only takes about 38% of the time of the old
one.  See https://github.com/ronen-fr/hobjtostr/tree/rf-2 for the code
used to benchmark the new version.

hobject_fmt.h is folded into hobject.h, as fmtlib is now an accepted
dependency in all of Ceph.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/hobject.h
src/common/hobject_fmt.h [deleted file]
src/crimson/osd/backfill_state.cc
src/crimson/osd/pg.cc
src/crimson/osd/scrub/scrub_machine.h
src/msg/msg_types.h
src/osd/osd_types_fmt.h