Skip to content Skip to sidebar Skip to footer
Showing posts with the label Performance

Why Does The Execution Time Vary?

I measure execution time like this: function testFn() { return true; } console.time(… Read more Why Does The Execution Time Vary?

Is There A Performance Difference Between 'let' And 'var' In Javascript

The difference between these two keywords in terms of scoping has already been thoroughly discussed… Read more Is There A Performance Difference Between 'let' And 'var' In Javascript

Poor Performance With Tables In Internet Explorer 8 Standards Mode

When using a table with a reasonable amount of data - 100 rows by 50 columns - I notice that IE8 pe… Read more Poor Performance With Tables In Internet Explorer 8 Standards Mode

Jquery - More Efficient To Use Multiple Selectors, Or Each

I have something like this ... .. . $('.Class1').so Solution 1: As far as fastest selec… Read more Jquery - More Efficient To Use Multiple Selectors, Or Each

Is Javascript String Comparison Just As Fast As Number Comparison?

I'd like to write a little library for JavaScript enums. For me to do that, I need to decide ho… Read more Is Javascript String Comparison Just As Fast As Number Comparison?

Why The Converttofastobject Function Make It Fast?

I tried Dart SDK after the 1.0 release, and wrote a simple hello-world program in Dart. Then, with … Read more Why The Converttofastobject Function Make It Fast?

Getting A Better Performance On Repeatedly Method On D3

For example, I need to calculate a Math.sqrt of my data for each attr, how can I calculate only one… Read more Getting A Better Performance On Repeatedly Method On D3

Which Is Performancewise Better, Check For Class Or Add Class

If you have a function which fires on a scroll event, which is better. Check if a class is already… Read more Which Is Performancewise Better, Check For Class Or Add Class