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

Add stats for LoadedPrograms #31577

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented May 10, 2023

Problem

The new LoadedPrograms cache does not have stats.

Summary of Changes

Reimplemented stats from ExecutorCache in LoadedPrograms.

Fixes #

@pgarg66 pgarg66 marked this pull request as ready for review May 10, 2023 18:16
@pgarg66 pgarg66 requested a review from Lichtso May 10, 2023 18:16
@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #31577 (1fd9522) into master (fed1bb7) will increase coverage by 0.0%.
The diff coverage is 81.4%.

@@           Coverage Diff           @@
##           master   #31577   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         733      733           
  Lines      204786   204838   +52     
=======================================
+ Hits       166502   166578   +76     
+ Misses      38284    38260   -24     

@pgarg66 pgarg66 merged commit 04425b8 into solana-labs:master May 10, 2023
@pgarg66 pgarg66 deleted the cache-stats branch May 10, 2023 19:09
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.

2 participants