Skip to content

WIP share more between threads #5273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mstange
Copy link
Contributor

@mstange mstange commented Dec 19, 2024

No description provided.

@mstange mstange force-pushed the push-wsuwrvunnvmr branch 2 times, most recently from a5c010a to f036db9 Compare January 2, 2025 22:35
Copy link

codecov bot commented Jan 2, 2025

Codecov Report

Attention: Patch coverage is 90.19964% with 54 lines in your changes missing coverage. Please review.

Project coverage is 86.05%. Comparing base (d42d0f6) to head (479e098).

Files with missing lines Patch % Lines
src/profile-logic/profile-compacting.js 90.21% 25 Missing and 2 partials ⚠️
src/profile-logic/merge-compare.js 87.87% 11 Missing and 1 partial ⚠️
src/profile-logic/processed-profile-versioning.js 76.59% 10 Missing and 1 partial ⚠️
src/profile-logic/sanitize.js 86.66% 2 Missing ⚠️
src/profile-logic/process-profile.js 97.22% 1 Missing ⚠️
src/profile-logic/tracks.js 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5273      +/-   ##
==========================================
+ Coverage   86.03%   86.05%   +0.01%     
==========================================
  Files         312      313       +1     
  Lines       30352    30708     +356     
  Branches     8292     8340      +48     
==========================================
+ Hits        26114    26425     +311     
- Misses       3644     3686      +42     
- Partials      594      597       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mstange mstange force-pushed the push-wsuwrvunnvmr branch from f036db9 to 5f8c157 Compare January 3, 2025 20:26
@mstange mstange force-pushed the push-wsuwrvunnvmr branch 6 times, most recently from 3779d4d to eaa6409 Compare January 20, 2025 19:43
@mstange mstange force-pushed the push-wsuwrvunnvmr branch 8 times, most recently from 694bfc7 to 1995527 Compare February 28, 2025 21:59
mstange added 3 commits March 1, 2025 01:06
In the future we're planning to share more tables across threads,
starting with the string table.

If a user wants to upload only visible threads, there's the risk of
keeping data from other threads in the profile if more of that data
is shared across threads.

So this commit adds a "compacting garbage collection" step before
uploading, so that only data which is referenced within the sanitized
profile is kept in the profile.
@mstange mstange force-pushed the push-wsuwrvunnvmr branch from 1995527 to 479e098 Compare March 1, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant