-
Notifications
You must be signed in to change notification settings - Fork 24
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
Performance problem - Stress Testing #6
Comments
The only thing that can cause such execution time is the script that fetches the comments count from Disqus to display them besides the paragraphs (the actual comment threads are not being pre-fetched). |
But already is set to '''displayCount: false''', check the code I just sent on the comment before. Probably is one of these document.createElement. function (n){return typeof i===o||n&&i.event.triggered===n.type?t:i.event.dispatch.apply(l.elem,arguments)} It seems that create.Element is better even than an equivalent jQuery method. |
Is there a way to reuse the javaScript code that was already generated, without needing to generate it again ? |
I used your method for 3004 paragraphs in a text, check the javaScript bellow:
http://cfcomentada.azurewebsites.net/
It took 25 seconds to execute.
Is there a way to make the execution quicker ?
Since this page is not gonna change, maybe there is a way to store the
per-proccessing somewhere.
Is this generated each time it runs the script ?
http://cfcomentada.azurewebsites.net/js?v=rHWjXiMtWOTPjhUf3vKK52W1uMgkpJt0Wyh5RANE5MQ1
Thanks for the API, is helping a lot. 👍 :)
The text was updated successfully, but these errors were encountered: