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

Error: task 17 panicked #17

Open
dat58 opened this issue Aug 29, 2024 · 0 comments
Open

Error: task 17 panicked #17

dat58 opened this issue Aug 29, 2024 · 0 comments

Comments

@dat58
Copy link

dat58 commented Aug 29, 2024

I have used version 0.2.0, and I just tested the library to ensure it works correctly. Therefore, I have written a simple benchmark like:

async fn bench(
        &mut self,
        _: &mut Self::WorkerState,
        _: &IterInfo,
    ) -> Result<IterReport> {
        Ok(IterReport {
            duration: std::time::Duration::from_secs(1),
            status: Status::success(0),
            bytes: 0,
            items: 1,
        })
    }
cargo run -- -c 1 -n 1 --fps 1

However, I encountered the error I mentioned above.

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

No branches or pull requests

1 participant