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

Detect When Ie11, With Its Built-in Memory Leak, Runs Out Of Memory (1.5gb Recyclable Pool)

IE11 has a well-documented iframe memory leak. In a SPA, if you are using iframes the memory will g… Read more Detect When Ie11, With Its Built-in Memory Leak, Runs Out Of Memory (1.5gb Recyclable Pool)

Load Duplicate Images Efficiently

I stumbled across this weird situation(to me) where I might have an image in a html doc multiple ti… Read more Load Duplicate Images Efficiently

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

Three Js 25000 Boxgeometry 200 Models How To Increase Performance

I am knew to WebGL and Three js having been able to get enough code together to be able to add 25K … Read more Three Js 25000 Boxgeometry 200 Models How To Increase Performance

Should An Intersectionobserver Be Disconnected When Element Is Removed

In a Single Page Application, elements are often removed and replaced. On elements that are removed… Read more Should An Intersectionobserver Be Disconnected When Element Is Removed

Optimizing Javascript For Multiple Browser Display At High Fps

I have an FFT using canvas that plots a high speed display. I want to optimize the code to have 16 … Read more Optimizing Javascript For Multiple Browser Display At High Fps

Kineticjs - Moving 4000 Tiles With Stage.draggable

(Sorry if this is a duplicate, but I don't think it is) Just so you know, I'm using Google … Read more Kineticjs - Moving 4000 Tiles With Stage.draggable

High Cpu Usage Of Javascript - How To Debug?

What is the best way to find the cause of high cpu usage of javascript? I have a script that simpl… Read more High Cpu Usage Of Javascript - How To Debug?

Which Is Faster? - Modifying Css Property Or Adding Class In Jquery

I have about 100 elements in like and am trying to create an animation with jquery. I need to add… Read more Which Is Faster? - Modifying Css Property Or Adding Class In Jquery

Time Complexity For Javascript Methods In V8

I know that the Javascript standard does not specify required time complexities for methods like ar… Read more Time Complexity For Javascript Methods In V8

Javascript Performance And Minification

Does anyone know if there's any benefit in 'minifying' locally-stored javascript code t… Read more Javascript Performance And Minification

Why Is Prototype Function 40x Slower Than The Default Declared Function?

I've played with jsperf.com and found that prototyped function is 40x slower than 'default&… Read more Why Is Prototype Function 40x Slower Than The Default Declared Function?

Poor Time Performance Of 'rake Assets:precompile'

Running: bundle exec rake assets:precompile RAILS_ENV=production Takes about 6 minutes for 15 .js … Read more Poor Time Performance Of 'rake Assets:precompile'

Are Css Animations Faster Than Js Animations?

I read something a while ago that said that CSS animations are faster than JS animations. Having us… Read more Are Css Animations Faster Than Js Animations?

Javascript Function "createcallback" Called >50 Times When I Use Addclass/removeclass In Firefox

I'm working on a web app in ASP.NET 2.0 that involves several GridView elements. When users cl… Read more Javascript Function "createcallback" Called >50 Times When I Use Addclass/removeclass In Firefox

Why Is Array.splice() So Slow?

I recently saw this benchmark: http://jsperf.com/remove-element-splice-vs-move-and-pop I noticed th… Read more Why Is Array.splice() So Slow?

Is Playing Sound In Javascript Performance Heavy?

I'm making a simple game in Javascript, in which when an object collides with a wall, it plays … Read more Is Playing Sound In Javascript Performance Heavy?

Read Size Of Current Document From Javascript

I'm starting to play around with Boomerang for measuring performance. It's very promising. … Read more Read Size Of Current Document From Javascript

Why Is Webassembly Function Almost 300 Time Slower Than Same Js Function

Find length of line 300* slower First of I have read the answer to Why is my WebAssembly function s… Read more Why Is Webassembly Function Almost 300 Time Slower Than Same Js Function

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