[REST] improve performance for JSON calls #14298

pull alecalve wants to merge 1 commits into bitcoin:master from alecalve:improve_rest_json_performance changing 1 files +20 −11
  1. alecalve commented at 1:20 pm on September 23, 2018: contributor

    JSON calls do not use the raw data generated for the .bin and .hex calls.

    By moving the raw data creation into the .bin and .hex switch branches, JSON calls’ performance is improved.

    Light benchmarking indicates that fetching 2000 JSON headers is ~25% faster, fetching large JSON blocks is ~4% faster.

  2. [REST] improve performance for JSON calls
    JSON calls do not use the raw data generated for
    the .bin and .hex calls. By moving the raw data
    creation into the .bin and .hex switch branches,
    JSON calls become faster.
    30973e9844
  3. fanquake added the label RPC/REST/ZMQ on Sep 23, 2018
  4. promag commented at 2:29 pm on September 23, 2018: member
    utACK 30973e9.
  5. Empact commented at 6:54 pm on September 23, 2018: member
    utACK 30973e9
  6. laanwj commented at 7:45 pm on September 23, 2018: member

    thanks, this is an obvious improvement, the whole point of the .bin interface is to save on conversion overhead!

    30973e9844d9ed8f2932ad7088cae39c49f3ebb5

  7. practicalswift commented at 7:13 am on September 24, 2018: contributor

    utACK 30973e9844d9ed8f2932ad7088cae39c49f3ebb5

    Nice first-time contribution!

  8. l2a5b1 commented at 8:05 am on September 24, 2018: contributor

    utACK 30973e9

    nice one!

  9. MarcoFalke merged this on Sep 24, 2018
  10. MarcoFalke closed this on Sep 24, 2018

  11. MarcoFalke referenced this in commit f5035f9d0f on Sep 24, 2018
  12. alecalve deleted the branch on Sep 24, 2018
  13. mempko referenced this in commit 04ff87d737 on Sep 26, 2018
  14. MarcoFalke referenced this in commit 596b138255 on Oct 4, 2018
  15. MarcoFalke referenced this in commit 21b3dce233 on Oct 28, 2018
  16. deadalnix referenced this in commit 7c83d810c5 on Apr 22, 2020
  17. ftrader referenced this in commit cb7cdd5f82 on Aug 17, 2020
  18. Munkybooty referenced this in commit 43c4f26e42 on Jul 9, 2021
  19. pravblockc referenced this in commit 45009f1d1e on Jul 22, 2021
  20. pravblockc referenced this in commit 44ff84f391 on Aug 9, 2021
  21. pravblockc referenced this in commit a8270095a1 on Aug 9, 2021
  22. pravblockc referenced this in commit 679f2cad94 on Aug 11, 2021
  23. pravblockc referenced this in commit 41b0f889aa on Aug 11, 2021
  24. 5tefan referenced this in commit 15d3d68532 on Aug 12, 2021
  25. MarcoFalke locked this on Sep 8, 2021

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-11-17 12:12 UTC

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