Performance call minutes ...

* Present:
  + Caolan, Michael

* Performance
  + branches - to get merged ...
    + see where we are then ...

* Issues:
  + scroll - and finish scrolling
    + sending two combinetiles -> same location ...
      + not caught by the de-duplication ...
      + double work.
      + a move - and a move-end for every movement.
        + scroll move ...

  + benchmarking ...

  + Noel -> a win for the calc thing we looked at
    + size of document twice - if can re-use it earlier on.

  + JS debugger - to learn how to look at profiles in Chrome.
    + dead time etc.
    + actually doing nothing.

* End to end tracing:
     <trace_event desc="The possibility to turn on generation of a Chrome Trace Event file" enable="false">
     + turn on 'Performance tracing' in help -> tripple click.
     [ /tmp/foo.json generated ]
     chrome://tracing/
     W/S/D/A ...

  -> might be worth a try ...

* Delta / RLE stuff:
  + github/private/mmeeks/delta-rle
  + profile and play
  + can push as is when reviewed without the top patch.
  + page fault handler there a lot in delta its.

  + new bits to play with:
    + move unpremult_copy to the client.
      + look at ImageData alpha premultiplication · Issue #5365 · whatwg/html · GitHub ?
      + can we do pre-multiplied end to end
    + sending the key-frame as a raw dump of the DeltaBitmapRow data
        size_t compressOrDelta(
      + and re-constructing in the JS 'applyDelta'
      + near here:
      // FIXME: use zstd to de-compress directly into a Uint8ClampedArray

  + browser/src/layer/tile/CanvasTileLayer.js
    + applies deltas.

* Calc - comment performance foo
  + had a look at this ...
  + a big json thing ...

* Michael to look at the JS / _tiles stuff ...

* For easy build & debugging:
  * /etc/sudoers - un-comment:

## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

        * add to wheel group in /etc/groups

* Looking for back-ports ? ...
  + performance bits -> high bar to put it back.