Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Speed up getLeaderSchedule RPC call by reducing pubkey duplication#7551

Merged
mvines merged 1 commit intosolana-labs:masterfrom
mvines:ls
Dec 18, 2019
Merged

Speed up getLeaderSchedule RPC call by reducing pubkey duplication#7551
mvines merged 1 commit intosolana-labs:masterfrom
mvines:ls

Conversation

@mvines
Copy link
Copy Markdown
Contributor

@mvines mvines commented Dec 18, 2019

Fetching a getLeaderSchedule with production Epochs is extremely slow due to all the repeated base58 pubkeys. Break the API and return a dictionary of pubkeys to slot indices instead.

@mvines mvines added the v0.21 label Dec 18, 2019
@mvines mvines marked this pull request as ready for review December 18, 2019 22:17
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 18, 2019

Codecov Report

Merging #7551 into master will increase coverage by 12.6%.
The diff coverage is 92.3%.

@@            Coverage Diff            @@
##           master   #7551      +/-   ##
=========================================
+ Coverage    68.3%   80.9%   +12.6%     
=========================================
  Files         244     244              
  Lines       59202   49946    -9256     
=========================================
- Hits        40453   40448       -5     
+ Misses      18749    9498    -9251

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant