Skip to content

Conversation

@MicaiahReid
Copy link
Member

No description provided.

@MicaiahReid MicaiahReid requested a review from lgalabru September 1, 2025 18:53
.initialize(
simnet.slot_time,
&remote_rpc_client,
config.simnets[0].do_profile_instructions,
Copy link
Member

@lgalabru lgalabru Sep 3, 2025

Choose a reason for hiding this comment

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

Suggested change
config.simnets[0].do_profile_instructions,
simnet.do_profile_instructions,

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

write_version: 0,
registered_idls: HashMap::new(),
feature_set,
do_profile_instructions: true,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
do_profile_instructions: true,
instruction_profiling_enabled: true,

?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

})
}

pub fn do_profile_instructions(&self) -> bool {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pub fn do_profile_instructions(&self) -> bool {
pub fn is_instruction_profiling_enabled(&self) -> bool {

could be more readable / conventional

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@MicaiahReid MicaiahReid requested a review from lgalabru September 3, 2025 20:39
@MicaiahReid MicaiahReid merged commit 7c70d9a into main Sep 4, 2025
2 of 3 checks passed
@lgalabru lgalabru deleted the chore/disable-ix-profiling branch September 4, 2025 21:11
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.

4 participants