Tagged Questions
2
votes
3answers
193 views
Anonymous function performance - setTimeout
According to Gregory Baker & Erik Arvidsson (Google), creating a named function and then passing that to setTimeout is actually faster than creating an anonymous function (reference: Optimizing ...
7
votes
3answers
261 views
Does javascript support numerically indexed arrays with a more optimized algorithm than an associative array?
I know that Python, Perl, Java, Lua and obviously C (as it's the only array that's in ANSI standard afaik) support faster looking of numerically indexed arrays than doing a hash lookup or anything ...
2
votes
0answers
187 views
Tools for finding unused files in web application [closed]
Is there any tools to find unused js, css and image files in web application?
Something like Resharper for these files.
I've a web application developed by someone else; He has included a lot of js ...
1
vote
1answer
331 views
Cost of setInterval in Javascript
I've got some code that I want to run when certain HTML elements are added to the page.
To do this, I have a "runOnRender" function:
runOnRender: function (func, args, interval) {
var ...
2
votes
1answer
184 views
What is the most performant CSS property for transitioning an element?
I'm wondering whether there is a performance difference between using different CSS properties to translate an element. Some properties fit different situations differently.
You can translate an ...
3
votes
2answers
229 views
Is script grouping and minification counter-productive?
On a web page I have 1 script tag that contains all my minified JavaScript (I use SquishIt for .NET).
However I see that a few people prefer to load their scripts in parallel using something like ...
5
votes
1answer
1k views
Performing client-side OAuth authorized Twitter API calls versus server side, how much of a difference is there in terms of performance?
I'm working on a Twitter application in Ruby on Rails. One of the biggest arguments that I have with other people on the project is the method of calling the Twitter API. Before, everything was done ...
2
votes
1answer
182 views
Specifically for JS, CSS, HTML: what is the difference between optimization, compression, minification, tidying, concatenation?
When we talk about source code and the file which contains the code like CSS, HTML, JavaScript and we also talk about performance of a web site or application, what is the differences between these ...
2
votes
3answers
1k views
Measures of Javascript engine performances over time?
Since the beginning of the Javascript race -- which I would situate around Google Chrome launch in 2008 -- the improvement in the Javascript engine performances have been impressive.
The web is ...
9
votes
5answers
2k views
Why Should I Avoid Inline Scripting?
A knowledgeable friend recently looked at a website I helped launch, and commented something like "very cool site, shame about the inline scripting in the source code".
I'm definitely in a position ...
2
votes
6answers
1k views
What is JQuery performance compared to YUI, Dojo and other frameworks?
I have been using JQuery for quite sometime now and I'm pretty much happy with the performance.
I'm just wondering if there is any performance comparison between jQuery, YUI, Dojo, Prototype, ...
2
votes
1answer
138 views
Alternative methods for maintaining JavaScript source
I'm looking for other options for maintaining my personal JavaScript namespace. The problem I'm having boils down code Organization Vs. Performance. I would simply LOVE to be able to separate major ...
