Skip to content

Conversation

@missinglink
Copy link
Member

the Debug class has beginTimer and stopTimer methods which produce a lot of noise in the debug view.

this PR removes the methods and replaces them with standard js date commands, standardizes the timer under the key 'duration' and combines the timer with other debug lines where possible.

Screenshot 2025-12-03 at 11 26 51

@missinglink
Copy link
Member Author

Screenshot 2025-12-03 at 11 29 02

const effective_layers = getEffectiveLayers(req.clean.layers);
debugLog.push(req, {effective_layers: effective_layers});

const centroid = {
Copy link
Member Author

Choose a reason for hiding this comment

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

This was unused

Copy link
Member

@orangejulius orangejulius left a comment

Choose a reason for hiding this comment

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

Yeah, these are pretty verbose, the new version is much better.

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