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

console log when we exceed 1000ms for a load #239

Closed
wants to merge 2 commits into from
Closed

Conversation

pvh
Copy link
Member

@pvh pvh commented Dec 1, 2023

Any objection? I usually avoid checking in console.warns() but at least at the moment I want to emphasize finding and fixing these slow documents.

@acurrieclark
Copy link
Collaborator

I can absolutely see the value in this. Is it worth making it optional?

@pvh
Copy link
Member Author

pvh commented Dec 9, 2023

yea, it should probably be tied to a debug setting. i'll update the patch.

Create a performance log that can be used accross automerge-repo
@paulsonnentag
Copy link
Collaborator

I've added a generic perfLogger that can be used across automerge-repo to log performance information. So if you want to show perf information, you can add "automerge-repo:perf" to DEBUG.

@pvh
Copy link
Member Author

pvh commented Jan 24, 2024

I'm going to drop this PR -- I still think it's a good idea and we can revive it later but it's not an active problem and I think building on the perfLogger model would be a better plan.

@pvh pvh closed this Jan 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.

3 participants