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

Option to disable the highlighter #140

Open
exussum12 opened this issue Sep 28, 2021 · 0 comments
Open

Option to disable the highlighter #140

exussum12 opened this issue Sep 28, 2021 · 0 comments

Comments

@exussum12
Copy link
Collaborator

Running on large files is quite slow, about 50% of the time is taken highlighting the code.

Total of Magic Numbers: 8
Time: 00:01.485, Memory: 94.01 MB

And commenting https://github.com/povils/phpmnd/blob/master/src/Printer/Console.php#L38-L41

takes it to

Total of Magic Numbers: 8
Time: 00:00.755, Memory: 56.00 MB

Anyone got an opinion on the formatting ? It highlights php code in general, if anything I think we should highlight the number.

Either way an option to save 50% processing would be quite a nice one to provide

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

1 participant