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

How To Efficiently Count The Number Of Keys/properties Of An Object In Javascript

What's the fastest way to count the number of keys/properties of an object? Is it possible to d… Read more How To Efficiently Count The Number Of Keys/properties Of An Object In Javascript

Javascript Var Statement And Performance

Option1 : multiple var without assignment function MyFunction() { var a = null; var b = null; … Read more Javascript Var Statement And Performance

Knockout Is Slow When Unchecking Checkboxes On A Large (1000) Dataset

I am using this code, to check all checkboxes on my view. var checked = self.includeAllInSoundscri… Read more Knockout Is Slow When Unchecking Checkboxes On A Large (1000) Dataset

Localecompare() Vs .sort For Alphabetically Sorting

Im sorting an array of objects alphabetically but not sure which way is more efficient. Im currentl… Read more Localecompare() Vs .sort For Alphabetically Sorting

How To Check Min And Max Values Simultaneously In Javascript?

I'm not sure if I understand correctly: retrieving data is much slower than running a logical o… Read more How To Check Min And Max Values Simultaneously In Javascript?

Get Transferred Size Of A Resource Using Javascript

I'm trying to measure page load performance of real website users. To make better sense of the… Read more Get Transferred Size Of A Resource Using Javascript