[bench] Add benchmark for unserialize prevector #13711

pull AkioNak wants to merge 1 commits into bitcoin:master from AkioNak:add_bench_unserialize changing 1 files +28 −0
  1. AkioNak commented at 8:09 am on July 19, 2018: contributor

    This PR adds benchmarks for the unserialization of the prevector.

    Note: Separated from #12324.

  2. in src/bench/prevector.cpp:82 in 72b2a49f09 outdated
    73+    CDataStream s0(SER_NETWORK, 0);
    74+    prevector<28, T> t0;
    75+    t0.resize(28);
    76+    for (auto x = 0; x < 1001; ++x) {
    77+        s0 << t0;
    78+    }
    


    AkioNak commented at 9:03 am on July 19, 2018:
    Self review: To closing to actual condition, it would be better to include the case where the size exceeds the initial capacity.

    AkioNak commented at 8:58 am on July 20, 2018:
    done.
  3. fanquake added the label Tests on Jul 19, 2018
  4. [bench] Add benchmark for unserialize prevector
    This patch adds 2 benchmarks to measure for performance of
    the unserialization of prevector.
    46340b3337
  5. AkioNak force-pushed on Jul 20, 2018
  6. kallewoof approved
  7. kallewoof commented at 8:43 am on July 27, 2018: member
    utACK 46340b3337b7ef9fa68030e9c4b2092a25874837
  8. MarcoFalke merged this on Jul 27, 2018
  9. MarcoFalke closed this on Jul 27, 2018

  10. MarcoFalke referenced this in commit f98d1e0008 on Jul 27, 2018
  11. AkioNak deleted the branch on Aug 13, 2018
  12. PastaPastaPasta referenced this in commit c59dcbba59 on Jul 29, 2020
  13. gades referenced this in commit 2968f93c4f on Jul 1, 2021
  14. MarcoFalke locked this on Sep 8, 2021


AkioNak kallewoof

Labels
Tests


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-29 01:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me