Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic in tango benchmarks when running a comparison #42

Open
kubouch opened this issue Jan 2, 2025 · 0 comments
Open

Panic in tango benchmarks when running a comparison #42

kubouch opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working performance Issues related to performance upstream

Comments

@kubouch
Copy link
Collaborator

kubouch commented Jan 2, 2025

When running A-B benchmark comparison, tango panics with undefined tango_init symbol:

> cargo export target/benchmarks/main -- bench

> RUST_BACKTRACE=1 target/benchmarks/main/benchmarks compare target/benchmarks/main/benchmarks -o -p -s 20 --warmup true
thread 'main' panicked at /home/kubouch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tango-bench-0.6.0/src/dylib.rs:62:60:
called `Result::unwrap()` on an `Err` value: UnableToLoadSymbol(DlSym { desc: "/home/kubouch/git/forks/new-nu-parser/target/benchmarks/main/benchmarks.patched: undefined symbol: tango_init" })
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: tango_bench::dylib::Spi::for_library
   4: tango_bench::cli::paired_test::run_test
   5: tango_bench::cli::run
   6: benchmarks::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
@kubouch kubouch added bug Something isn't working performance Issues related to performance upstream labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance Issues related to performance upstream
Projects
None yet
Development

No branches or pull requests

1 participant