Skip to content

Conversation

@cyl3x
Copy link
Contributor

@cyl3x cyl3x commented Sep 10, 2025

No description provided.

@cyl3x cyl3x self-assigned this Sep 10, 2025
@cyl3x cyl3x marked this pull request as draft September 10, 2025 12:16

$result = $closure();
} finally {
self::$stopwatch?->stop($name, 'app');
Copy link
Member

Choose a reason for hiding this comment

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

Does this actually log the time anywhere? I am not familiar with Symfony's Stopwatch Component

Copy link
Contributor Author

@cyl3x cyl3x Sep 10, 2025

Choose a reason for hiding this comment

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

Symfony stopwatch is what you see in the Profiler > <Request> > Performance - therefore, it's for debug only. Before you just saw a span "controller" stretching a second, now you see spans for each Braintree request

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

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.

3 participants