Bug 226605 - [MotionMark] Controller.filterOutOutliers() sorts the frameLengths array incorrectly
Summary: [MotionMark] Controller.filterOutOutliers() sorts the frameLengths array inco...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-03 15:40 PDT by Said Abou-Hallawa
Modified: 2021-06-04 00:54 PDT (History)
10 users (show)

See Also:


Attachments
Patch (1.53 KB, patch)
2021-06-03 16:05 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Updating motionmark1.1.plan (1.56 KB, patch)
2021-06-03 17:55 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2021-06-03 15:40:18 PDT
To sort an array of numbers, we have to provide a compare function. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort.
Comment 1 Said Abou-Hallawa 2021-06-03 15:50:07 PDT
<rdar://77350238>
Comment 2 Said Abou-Hallawa 2021-06-03 16:05:48 PDT
Created attachment 430511 [details]
Patch
Comment 3 EWS 2021-06-03 17:31:51 PDT
Committed r278436 (238457@main): <https://commits.webkit.org/238457@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430511 [details].
Comment 4 Said Abou-Hallawa 2021-06-03 17:55:24 PDT
Reopening to attach new patch.
Comment 5 Said Abou-Hallawa 2021-06-03 17:55:26 PDT
Created attachment 430521 [details]
Updating motionmark1.1.plan
Comment 6 EWS 2021-06-03 20:43:05 PDT
Committed r278446 (238466@main): <https://commits.webkit.org/238466@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430521 [details].