Skip to content
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

fix(trace viewer): make LRUCache per-trace #33245

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Oct 23, 2024

Instead of a single global one. This makes the cache collectable when a trace is unloaded. Otherwise, old cache entries stick around and hold traces in memory.

References #33086, #33219, #33141.

Instead of a single global one. This makes the cache collectable
when a trace is unloaded. Otherwise, old cache entries stick
around and hold traces in memory.
Copy link
Member

@Skn0tt Skn0tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find!

Copy link
Contributor

Test results for "tests 1"

2 flaky ⚠️ [playwright-test] › ui-mode-test-setup.spec.ts:22:5 › should run global setup and teardown @ubuntu-latest-node20-1
⚠️ [webkit-library] › library/video.spec.ts:381:5 › screencast › should capture navigation @webkit-ubuntu-22.04-node18

36564 passed, 626 skipped
✔️✔️✔️

Merge workflow run.

@dgozman dgozman merged commit 9a6e1b7 into microsoft:main Oct 23, 2024
29 checks passed
dgozman added a commit to dgozman/playwright that referenced this pull request Oct 24, 2024
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.

2 participants