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 slow subrequests in development #1411

Merged
merged 4 commits into from Oct 16, 2023
Merged

Fix slow subrequests in development #1411

merged 4 commits into from Oct 16, 2023

Conversation

frandiox
Copy link
Contributor

Closes #1402

We were using stack traces to show the filename where subrequests originated in /debug-network. The problem is that, for this to work, it needs to read the sourcemap file every time we generate the stack trace and find out the original filename. This adds ~300ms every time we access stack traces (once per subrequest).

We could use V8 callsites and read sourcemaps asynchronously in the CLI but let's simplify the tool for now and just remove this information.

@frandiox frandiox requested a review from a team October 10, 2023 09:28
@github-actions

This comment has been minimized.

Copy link
Contributor

@blittle blittle left a comment

Choose a reason for hiding this comment

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

Good catch!

@frandiox frandiox merged commit 2941466 into main Oct 16, 2023
10 checks passed
@frandiox frandiox deleted the fd-fix-slow-subreq-dev branch October 16, 2023 06:11
@wizardlyhel
Copy link
Contributor

Ohh! nice catch! I was wondering why as well.

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.

Update from 2023.7.8 to 2023.7.9 degraded performance
3 participants