Skip to content

Conversation

@mjain-jump
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.070204 s 0.070391 s 0.266%
backtest mainnet-368528500-perf snapshot load NaN s NaN s NaN%
backtest mainnet-368528500-perf total elapsed 70.203805 s 70.391338 s 0.267%
firedancer mem usage with mainnet.toml NaN GiB NaN GiB NaN%

@mjain-jump mjain-jump force-pushed the mjain/add-syscall-name-filters branch 3 times, most recently from 35cbc12 to 278d2a5 Compare February 2, 2026 21:42
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.051754 s 0.051464 s -0.560%
backtest mainnet-368528500-perf snapshot load NaN s NaN s NaN%
backtest mainnet-368528500-perf total elapsed 51.754273 s 51.464254 s -0.560%
firedancer mem usage with mainnet.toml 1056.31 GiB 1056.31 GiB 0.000%

@mjain-jump mjain-jump force-pushed the mjain/add-syscall-name-filters branch from 2f99af3 to 278d2a5 Compare February 2, 2026 21:58
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.071009 s 0.070261 s -1.053%
backtest mainnet-368528500-perf snapshot load NaN s NaN s NaN%
backtest mainnet-368528500-perf total elapsed 71.009361 s 70.260631 s -1.054%
firedancer mem usage with mainnet.toml 1056.31 GiB 1056.31 GiB 0.000%

@mjain-jump mjain-jump enabled auto-merge (squash) February 2, 2026 22:09
@mjain-jump mjain-jump force-pushed the mjain/add-syscall-name-filters branch from 8143899 to 278d2a5 Compare February 3, 2026 00:06
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.051511 s 0.051328 s -0.355%
backtest mainnet-368528500-perf snapshot load NaN s NaN s NaN%
backtest mainnet-368528500-perf total elapsed 51.511217 s 51.327666 s -0.356%
firedancer mem usage with mainnet.toml 1056.31 GiB 1056.31 GiB 0.000%

void
fd_dump_vm_syscall_to_protobuf( fd_vm_t const * vm,
char const * fn_name ) {
char const * syscall_name_filter = vm->instr_ctx->runtime->log.dump_proto_ctx->dump_syscall_name_filter;
Copy link
Contributor

Choose a reason for hiding this comment

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

a cleaner way to do this to avoid a strcmp for every syscall is to map the syscall function pointers to the syscall names so all you have to do is a pointer comparison

Copy link
Contributor Author

Choose a reason for hiding this comment

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

theres no current map that does this, and this would also need to be maintained separately every time a new syscall is added, so i think the current implementation should be fine for now

@mjain-jump mjain-jump force-pushed the mjain/add-syscall-name-filters branch from 278d2a5 to 1e08dc1 Compare February 3, 2026 16:36
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.051383 s 0.051286 s -0.189%
backtest mainnet-368528500-perf snapshot load NaN s NaN s NaN%
backtest mainnet-368528500-perf total elapsed 51.383308 s 51.286316 s -0.189%
firedancer mem usage with mainnet.toml 1056.31 GiB 1056.31 GiB 0.000%

Copy link
Contributor

@ibhatt-jumptrading ibhatt-jumptrading left a comment

Choose a reason for hiding this comment

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

don't love the function name strcmp but not blocking

@mjain-jump mjain-jump merged commit 5b144db into main Feb 3, 2026
13 checks passed
@mjain-jump mjain-jump deleted the mjain/add-syscall-name-filters branch February 3, 2026 19:23
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