awslabs / awslabs/shuttle

Consider swapping to `Backtrace::new_unresolved`

Open
#263 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1.1k
Forks
59
Avg merge
4d 2h
Merged PRs (30d)
15

Description

`Backtrace::force_capture` (which is what we do know) is quite expensive computation-wise, we should try out: https://docs.rs/backtrace/latest/backtrace/struct.Backtrace.html#method.new_unresolved, and see how it performs.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing Backtrace::force_capture call in the Rust code and read the backtrace crate documentation for Backtrace::new_unresolved. Compare their performance in the relevant concurrent-testing path, then determine whether the swap is suitable and verify that existing behavior remains acceptable.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.