[Webkit-unassigned] [Bug 176586] New: Speedometer 2.0: Use keyed algorithm to render lists for Inferno suite

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 8 00:54:21 PDT 2017


            Bug ID: 176586
           Summary: Speedometer 2.0: Use keyed algorithm to render lists
                    for Inferno suite
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shiyu.zhang at intel.com
                CC: addyo at chromium.org, lforschler at apple.com,
                    pan.deng at intel.com, rniwa at webkit.org,
                    tianyou.li at intel.com

Created attachment 320247

  --> https://bugs.webkit.org/attachment.cgi?id=320247&action=review

Use keyed algorithm for inferno

Inferno has two ways of rendering lists: Keyed algorithm and Non keyed algorithm. Choosing which one to use is up to the developer. The guide from https://infernojs.org/docs/guides/benefits/list-rendering recommends that keyed algorithm can be used to minimize the number of patch operations. This performs better when changes between lists are minimal, just like the use case of Speedometer's todo-list.

I applied the patch and rebuild the inferno suite to use keyed algorithm, 4x performance improvement for inferno suite was observed. I find that keys are already used for React framework. Shall we use the keys for inferno suite too?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170908/54fe6099/attachment.html>

More information about the webkit-unassigned mailing list