Skip to content

Instantly share code, notes, and snippets.

@aclamk
Last active October 30, 2018 14:33
Show Gist options
  • Save aclamk/49c42c72d9be6cb4f64fa7ad63572cc1 to your computer and use it in GitHub Desktop.
Save aclamk/49c42c72d9be6cb4f64fa7ad63572cc1 to your computer and use it in GitHub Desktop.
Radek encode rework
Reference:
[
{
"name": "void OSDMap::encode(ceph::bufferlist&, uint64_t) const",
"count": 8,
"time": "0.001130",
"one": "0.000141"
},
{
"name": "void object_info_t::encode(ceph::bufferlist&, uint64_t) const",
"count": 298101,
"time": "1.822213",
"one": "0.000006"
},
{
"name": "void SnapSet::encode(ceph::bufferlist&) const",
"count": 298600,
"time": "0.639506",
"one": "0.000002"
},
{
"name": "void pg_log_entry_t::encode(ceph::bufferlist&) const",
"count": 297633,
"time": "1.134135",
"one": "0.000004"
},
{
"name": "void pg_fast_info_t::encode(ceph::bufferlist&) const",
"count": 294351,
"time": "0.832540",
"one": "0.000003"
}
]
Rework:
[
{
"name": "void OSDMap::encode(ceph::bufferlist&, uint64_t) const",
"count": 8,
"time": "0.000207",
"one": "0.000026"
},
{
"name": "void object_info_t::encode(ceph::bufferlist&, uint64_t) const",
"count": 298192,
"time": "0.864583",
"one": "0.000003"
},
{
"name": "void SnapSet::encode(ceph::bufferlist&) const",
"count": 298544,
"time": "0.433451",
"one": "0.000001"
},
{
"name": "void pg_log_entry_t::encode(ceph::bufferlist&) const",
"count": 298171,
"time": "0.479659",
"one": "0.000002"
},
{
"name": "void pg_fast_info_t::encode(ceph::bufferlist&) const",
"count": 294052,
"time": "0.336069",
"one": "0.000001"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment