Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 955 by michael.glasten: blob.getBytes and blob.slice performance issues in Chrome
http://code.google.com/p/gears/issues/detail?id=955

The following code:

/* var blob = ... - get a blob from a local file through desktop.openFiles
interface */

var bytes = [];
                
var nBytes = blob.length;
var nStep = 0;

for (nStep = 0; nStep < nBytes; nStep += 1024) {
  var nLen = nBytes - nStep;
  if( nLen > 1024 ) nLen = 1024;
  bytes = bytes.concat(blob.getBytes(nStep, nLen));
}

works ok in FF with Gears plug-in, and even decently in IE, but hangs
Chrome for minutes with blobs (files) larger than one meg.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to