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

Make it go faster (copied) #2

Open
voidus opened this issue Jul 6, 2011 · 0 comments
Open

Make it go faster (copied) #2

voidus opened this issue Jul 6, 2011 · 0 comments
Milestone

Comments

@voidus
Copy link

voidus commented Jul 6, 2011

The methods ViewReview->formatSourceCode and ViewReview->highlightPhpCode take about 60% of the execution time. They both take a DOM and transform it into another DOM.
If the given file is not a php file, formatSourceCode transforms a DOM from another source.

A possible way to make this faster could be to somehow combine these two runs. The difficulty with that is that the separation of tasks only for php files and tasks for all files should be kept up.

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