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

CPU is too high, how to reduce CPU, Pprof shows as follows #41

Closed
zhoadi opened this issue Dec 21, 2020 · 1 comment
Closed

CPU is too high, how to reduce CPU, Pprof shows as follows #41

zhoadi opened this issue Dec 21, 2020 · 1 comment

Comments

@zhoadi
Copy link

zhoadi commented Dec 21, 2020

1.31mins 54.98% 54.98% 1.31mins 55.00% github.com/dlclark/regexp2/syntax.CharSet.CharIn
0.25mins 10.34% 65.32% 0.25mins 10.36% github.com/dlclark/regexp2.(*runner).forwardcharnext
0.19mins 8.09% 73.41% 1.75mins 73.45% github.com/dlclark/regexp2.(*runner).findFirstChar

@dlclark
Copy link
Owner

dlclark commented Dec 21, 2020

Hello! Can you please attach a benchmark example of the issue?

Thanks!

@dlclark dlclark closed this as completed Mar 17, 2021
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

No branches or pull requests

2 participants