lighthouse/beacon_node
Paul Hauner 8772c02fa0 Reduce temp allocations in network metrics (#1895)
## Issue Addressed

Using `heaptrack` I could see that ~75% of Lighthouse temporary allocations are caused by temporary string allocations here.

## Proposed Changes

Reduces temporary `String` allocations when updating metrics in the `network` crate. The solution isn't perfect since we rebuild our caches with each call, but it's a significant improvement.

## Additional Info

NA
2020-11-13 04:19:38 +00:00
..
beacon_chain Standard beacon api updates (#1831) 2020-11-09 23:13:56 +00:00
client Add --testnet mainnet and start HTTP server before genesis (#1862) 2020-11-09 05:04:03 +00:00
eth1 Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00
eth2_libp2p handle peer state transitions on gossipsub score changes + refactoring (#1892) 2020-11-13 03:15:03 +00:00
genesis Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00
http_api Peer endpoint updates (#1893) 2020-11-13 02:02:41 +00:00
http_metrics Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
network Reduce temp allocations in network metrics (#1895) 2020-11-13 04:19:38 +00:00
operation_pool Refine op pool pruning (#1805) 2020-10-22 04:47:29 +00:00
src Add --testnet mainnet and start HTTP server before genesis (#1862) 2020-11-09 05:04:03 +00:00
store Compact database on finalization (#1871) 2020-11-09 07:02:21 +00:00
tests Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
timer Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
websocket_server Update external deps (#1711) 2020-10-05 08:22:19 +00:00
Cargo.toml Bump version to v0.3.3 (#1850) 2020-11-02 23:55:15 +00:00