Open Bug 1368415 Opened 7 years ago Updated 2 years ago

[NPOTB] Stylo: modified bloom-basic test for profiling Stylo

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: jseward, Assigned: jseward)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

For profiling Stylo's use of Rayon, it is useful to have a variant of
testing/talos/talos/tests/perf-reftest/bloom-basic.html that can produce
DOM trees that create various kinds of parallel work scenarios:

(1) the amount of parallelism massively exceeds the number of worker threads

(2) the amount of parallelism exceeds the number of worker threads but then
    falls back to a long tail of two or four chains, thus not providing
    "enough" parallelism

(3) a tree which consists of two chains, hence giving maximum parallelism of
    two

(4) a tree which is a chain but that has a small balanced binary tree attached
    at intervals, giving alternating parallel and sequential sections.

The attached files generate such trees, as follows:

type  name                      total nodes   max depth   max width

(1)   general_5000_34percent    6873          21          1140
(1)   general_5000_50percent    5903          13          2048
(2)   general_5000_85percent    6959          43          588
(2)   general_5000_93percent    8025          88          392
(2)   general_5000_98percent    8765          256         148
(2)   general_5000_99_9perc     7431          2282        8
(3)   twochains_3500            3501          1751        2
(4)   intermittent_32_every_30  3051          1501        17
(4)   intermittent_32_every_60  2276          1501        17
(4)   intermittent_32_every_90  1997          1501        17
(4)   intermittent_16_every_90  1741          1501        9
Attached file my-bloom-basic.html
Attached file my-util.js
Priority: -- → P5
status-firefox57=wontfix unless someone thinks this bug should block 57
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: