Bug 220254 - We should have cost function for bytecode for inlining
Summary: We should have cost function for bytecode for inlining
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tadeu Zagallo
Keywords: InRadar
: 220204 (view as bug list)
Depends on:
Blocks: 220204
  Show dependency treegraph
Reported: 2021-01-04 12:52 PST by Yusuke Suzuki
Modified: 2022-02-12 19:47 PST (History)
2 users (show)

See Also:

bluenoise scripts set (5.60 KB, application/zip)
2021-01-08 14:57 PST, Yusuke Suzuki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2021-01-04 12:52:11 PST
Comment 1 Yusuke Suzuki 2021-01-04 13:07:53 PST
1. uniform cost funciton is not good
2. inlining scale based on loop
3. which part is executed and discard from inlining cost
4. escape analysis to analyze profitable or not for inlining.
Comment 2 Radar WebKit Bug Importer 2021-01-04 13:52:05 PST
Comment 3 Yusuke Suzuki 2021-01-08 14:57:55 PST
Created attachment 417305 [details]
bluenoise scripts set

Attaching bluenoise.zip. Run via jsc -m bluenose.mjs
Comment 4 Brent Fulgham 2022-02-12 19:47:30 PST
*** Bug 220204 has been marked as a duplicate of this bug. ***