NEW 167856
[JSC] Add fast BytecodeGraph construction mode
https://bugs.webkit.org/show_bug.cgi?id=167856
Summary [JSC] Add fast BytecodeGraph construction mode
Yusuke Suzuki
Reported 2017-02-05 11:03:56 PST
...
Attachments
Saam Barati
Comment 1 2017-02-05 11:08:15 PST
This would be cool. What's your plan here to make it faster?
Yusuke Suzuki
Comment 2 2017-02-05 11:12:47 PST
(In reply to comment #1) > This would be cool. What's your plan here to make it faster? Do not collect BytecodeBasicBlock::m_offsets. Sometimes we do not need this information. I think this reduces memory allocation if the basic block is super large. Like, kraken's data initialization.
Saam Barati
Comment 3 2017-02-05 12:29:46 PST
(In reply to comment #2) > (In reply to comment #1) > > This would be cool. What's your plan here to make it faster? > > Do not collect BytecodeBasicBlock::m_offsets. Sometimes we do not need this > information. > I think this reduces memory allocation if the basic block is super large. > Like, kraken's data initialization. Nice! I measured that it took something like 3-5ms to run the algorithm on the huge program code block from ai-astart. So any improvement for this would be awesome.
Note You need to log in before you can comment on or make changes to this bug.