diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-09-24 07:48:52 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-09-24 07:49:27 -0400 |
commit | f5035f9d0fae2ea35ef2ce32307b7ef8d455e10d (patch) | |
tree | 854222fd877a9897659748000d02a71f7bd0a9a9 /src/compat | |
parent | e798ae41e0f0665243af4e31d4f8a731a139c390 (diff) | |
parent | 30973e9844d9ed8f2932ad7088cae39c49f3ebb5 (diff) |
Merge #14298: [REST] improve performance for JSON calls
30973e9844 [REST] improve performance for JSON calls (Antoine Le Calvez)
Pull request description:
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.
Tree-SHA512: 433552c89bac2469d041b48a4a991d5443e4026a3ad7dc5621685386029f22826484218642fa5130c268349a55524ecbc4e30d64c867bd6632e0edd24370cf11
Diffstat (limited to 'src/compat')
0 files changed, 0 insertions, 0 deletions