Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Conversation

@adon-at-work
Copy link
Contributor

According to the benchmark,

  • speed of getProtocol() is now 8.69x faster (or 3.53x faster given samples collected from flickr)
  • speed of htmlDecode(), when used standalone, is 1.28x faster

This performance improvement is significant, and this will benefit those filters involving URIs (since yubl() is using getProtocol()).

@adon-at-work
Copy link
Contributor Author

@neraliu, please help review and merge. thanks :)
(secure-handlebars can get run-time performance improvement. html-purify will also run faster after this PR.)

@adon-at-work adon-at-work force-pushed the improve-performance branch 2 times, most recently from 5335711 to f0c26c4 Compare October 1, 2015 00:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants