Skip to content

Faster metric query - #148

Merged
atheurer merged 2 commits into
masterfrom
faster-metric-query
Jan 6, 2026
Merged

Faster metric query#148
atheurer merged 2 commits into
masterfrom
faster-metric-query

Conversation

@atheurer

@atheurer atheurer commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

About a 3.3x speedup

- sendMetricReq() no longer uses numMBytes() to track array size.
  numMBytes() is not that efficient at calculating size, as it uses
  JSON.stringify to do it.  Also, tracking a growing array by
  recalculating the entire array every time is wasteful.  Now tracking
  is done incrementally as the array grows.
@atheurer
atheurer merged commit 8a65fd6 into master Jan 6, 2026
53 of 56 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking Jan 6, 2026
@k-rister
k-rister deleted the faster-metric-query branch May 21, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants