Closed Bug 1691134 Opened 5 years ago Closed 4 years ago

Add more mode to parsemark.py

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: arai, Assigned: arai)

Details

Attachments

(7 files)

Currently parsemark reports the score of full-parse.
It's better support the following as well:

  • lazy-parse + compile to stencil
  • full-parse + compile to stencil
  • lazy-parse + compile to stencil + instantiate
  • full-parse + compile to stencil + instantiate
  • lazy-parse + decode + instantiate
  • full-parse + decode + instantiate

Some testdata in parse-tests finishes within 1-2 ms, and new Data() is
too rough.
elapsed() shell function returns microseconds.

Depends on D104437

No longer blocks: 1691029
Attachment #9201860 - Attachment description: Bug 1691134 - Part 3: Add --mode and --lazy arguments to parsemark.py. r=nbp → Bug 1691134 - Part 3: Add --mode and --lazy arguments to parsemark.py. r=nbp!
Attachment #9201861 - Attachment description: Bug 1691134 - Part 4: Add transcodeOnly mode to evaluate. r=nbp → Bug 1691134 - Part 4: Add transcodeOnly mode to evaluate. r=nbp!
Attachment #9201862 - Attachment description: Bug 1691134 - Part 5: Add decode mode to parsemark.py. r=nbp → Bug 1691134 - Part 5: Add decode mode to parsemark.py. r=nbp!
Attachment #9201863 - Attachment description: Bug 1691134 - Part 6: Use elapsed instead of new Date in parsemark.py. r=nbp → Bug 1691134 - Part 6: Use elapsed instead of new Date in parsemark.py. r=nbp!
Attachment #9201864 - Attachment description: Bug 1691134 - Part 7: Make compare_bench.py Python3-compatible. r=nbp → Bug 1691134 - Part 7: Make compare_bench.py Python3-compatible. r=nbp!
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/59335cd97570 Part 1: Use evaluate function's CompileOptions handling for parse/dumpStencil/compile. r=nbp https://hg.mozilla.org/integration/autoland/rev/3e5020c476d3 Part 2: Make parsemark.py Python3-compatible. r=nbp https://hg.mozilla.org/integration/autoland/rev/e5c4e2046b62 Part 3: Add --mode and --lazy arguments to parsemark.py. r=nbp https://hg.mozilla.org/integration/autoland/rev/7f044cc8a941 Part 4: Add transcodeOnly mode to evaluate. r=nbp https://hg.mozilla.org/integration/autoland/rev/120e8b8f0809 Part 5: Add decode mode to parsemark.py. r=nbp https://hg.mozilla.org/integration/autoland/rev/25b33d171b83 Part 6: Use elapsed instead of new Date in parsemark.py. r=nbp https://hg.mozilla.org/integration/autoland/rev/51e8d7425f54 Part 7: Make compare_bench.py Python3-compatible. r=nbp
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: