Performance/Status Meetings/2008-January-23: Difference between revisions

Line 62: Line 62:
** more work to speed up onSecurityChange, but further work will require SSL work and reducing the number of notifications
** more work to speed up onSecurityChange, but further work will require SSL work and reducing the number of notifications
** XPConnect accessor speed ({{bug|412531}}) (request for priority+owner by dietrich)
** XPConnect accessor speed ({{bug|412531}}) (request for priority+owner by dietrich)
* Start/Stop Shark from JS ({{bug|411365}} Patch)
** Gets really clean profiles.
** Install newest [http://developer.apple.com/tools/download/ CHUD]
** Start Shark App.
** Good setting for brief events is config->advanced 20us sample rate
** Put shark in remote mode
** Example from {{bug|412396}} test:
  <html>
  <head>
  <title>Test JPEG Rendering Time - (Hacked from scragz' test)</title>
  <script type="text/javascript">
 
  connectShark();
  startShark(); // Start sampling
 
  startDate = new Date();
  startTime = startDate.getTime() / 1000;
  window.onload = function () {
    var ignoreMe = document.body.offsetWidth;
    var endTime = new Date();
  };
  window.scrollBy(0,1);
  function calceRenderingTime() {
 
    stopShark(); // Stop sampling
    disconnectShark();
 
    endDate = new Date();
    endTime = endDate.getTime() / 1000;
    alert(endTime - startTime);
  }
  </script>
  </head>
  <body onload="calceRenderingTime();">
  ...


=== Action Items ===
=== Action Items ===
Confirmed users, Bureaucrats and Sysops emeriti
792

edits