Skip to content

Add prev_stack in Frame#707

Merged
ia0 merged 3 commits into
google:dev/fast-interpfrom
zhouwfang:add-prev-stack-in-frame
Dec 24, 2024
Merged

Add prev_stack in Frame#707
ia0 merged 3 commits into
google:dev/fast-interpfrom
zhouwfang:add-prev-stack-in-frame

Conversation

@zhouwfang

@zhouwfang zhouwfang commented Dec 23, 2024

Copy link
Copy Markdown
Contributor

It improves the performance by removing the costly last_frame_values_cnt().

On linux, CoreMark result: 39.795715 (in 17.853s). cf. CoreMark result was about 37 in 19s in #705.

#46

Improve the performance by removing last_frame_values_cnt()
@zhouwfang
zhouwfang requested a review from ia0 as a code owner December 23, 2024 01:58

@ia0 ia0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM modulo the Option<usize> which seems redundant.

Comment thread crates/interpreter/src/exec.rs Outdated
@zhouwfang
zhouwfang requested a review from ia0 December 23, 2024 16:50
@ia0
ia0 merged commit 9d47336 into google:dev/fast-interp Dec 24, 2024
@zhouwfang
zhouwfang deleted the add-prev-stack-in-frame branch December 24, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants