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

Jquery Bind() Unbind() And On() And Off()

Im working on a small adminarea for a webpage. Does it make sense to unbind events for increasing p… Read more Jquery Bind() Unbind() And On() And Off()

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'

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

Highlighting Text In Document (javascript) Efficiently

How can I (efficiently - not slowing the computer [cpu]) highlight a specific part of a page? … Read more Highlighting Text In Document (javascript) Efficiently

Best Way To Compare An Array Of Strings To An Array Objects With String Properties?

I have an array of object, within those objects is a name property. const objArr = [ { name: 'A… Read more Best Way To Compare An Array Of Strings To An Array Objects With String Properties?

Disable Javascript Function Based On The User's Computer's Performance

My website has a jQuery script (from Shadow animation jQuery plugin) which constantly changes the c… Read more Disable Javascript Function Based On The User's Computer's Performance

How To Hide Content Not In Visible View On A Page With Many Html Elements To Improve Performance?

I have a site with extremely many HTML elements (> 100.000). The page is basically a large table… Read more How To Hide Content Not In Visible View On A Page With Many Html Elements To Improve 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?

Jquery.getscript Vs Yepnope Performance

I googled quite a lot looking for the answer to this question but didn't find anything. Aside o… Read more Jquery.getscript Vs Yepnope Performance

An Error Has Occurred In The Javascript Console. Functionality Might Be Affected

HI I am getting this peculiar information in my console of IE 11 , An error has occurred in the Ja… Read more An Error Has Occurred In The Javascript Console. Functionality Might Be Affected

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

Jquery - Improving Selector Performance When Processing Xml

I am processing an XML file that has very slow performance when selecting Nodes with XPath style se… Read more Jquery - Improving Selector Performance When Processing Xml

Will Console.log Reduce Javascript Execution Performance?

Will use of the debugging feature console.log reduce JavaScript execution performance? Will it affe… Read more Will Console.log Reduce Javascript Execution Performance?

Performance Question: String.split And Then Walk On The Array, Or Regexp?

I'll do some work on a line separated string. Which one will be faster, to split the text via S… Read more Performance Question: String.split And Then Walk On The Array, Or Regexp?

Is Canvas Scaling More Performant Via Css Or Js?

The following document mentions some guidelines for performant scaling of HTML5 Canvas: https://dev… Read more Is Canvas Scaling More Performant Via Css Or Js?

How Do I Make A Class's Instances Comparable And Garbage Collectable At The Same Time?

I'm writing a class and want the instances to be comparable by , ==. For , valueOf works fine. … Read more How Do I Make A Class's Instances Comparable And Garbage Collectable At The Same Time?

How To Get Microsecond Timings In Javascript Since Spectre And Meltdown

The situation When writing high-performance JavaScript code, the standard profiling tools offered b… Read more How To Get Microsecond Timings In Javascript Since Spectre And Meltdown

Is It Faster To Swap An Img Src Or Show/hide Multiple Images?

What is the best practice to use when swapping an image on a webpage? Altering the image source or … Read more Is It Faster To Swap An Img Src Or Show/hide Multiple Images?

What Is More Efficient In Terms Of Data Consumption. Get Or Post?

Assuming we want to send the some data from a device (IOT) to our server. Small no. of variables (s… Read more What Is More Efficient In Terms Of Data Consumption. Get Or Post?

Have There Been Measurements On How Much Faster Css Is Than Javascript For Coding An Effect?

I recently came across a CSS pseudo class that can do an effect for highlighting a form field, rath… Read more Have There Been Measurements On How Much Faster Css Is Than Javascript For Coding An Effect?