GithubHelp home page GithubHelp logo

Comments (8)

ashvardanian avatar ashvardanian commented on July 22, 2024 1

Thanks for submitting the issue, @0xqd! Can you please clarify if you've detected an issue with the benchmark or the library itself?

from stringzilla.

ashvardanian avatar ashvardanian commented on July 22, 2024 1

This might be coming from Rust itself, there is a similar issue reported for Arm-based Windows setups: rust-lang/rust#118462

from stringzilla.

0xqd avatar 0xqd commented on July 22, 2024 1

hi there @ashvardanian, instead of using Windows just for convenience, I switch everything to Linux to be problem free now.

from stringzilla.

ashvardanian avatar ashvardanian commented on July 22, 2024 1

That should make your life easier down the road 🤗

from stringzilla.

0xqd avatar 0xqd commented on July 22, 2024

@ashvardanian The repo I use to reproduce is the one from you:
https://github.com/ashvardanian/memchr_vs_stringzilla

Environment the script run on:

cargo --version
cargo 1.76.0 (c84b36747 2024-01-18)

winver
Version 22H2 (OS Build 22621.1702)

Error

Gnuplot not found, using plotters backend
Benchmarking search-forward/stringzilla::find
Benchmarking search-forward/stringzilla::find: Warming up for 10.000 s
Error: Failed to receive message from Criterion.rs benchmark bench

Caused by:
    An existing connection was forcibly closed by the remote host. (os error 10054)

I edit the title of the post to proper error message

Minimal reproducible code:

#[cfg(test)]
mod tests {
    use stringzilla::{sz};

    #[test]
    fn test_stringzilla() {
        sz::find("hello", "l");
    }
}

Error:

process didn't exit successfully: `<path>\b2d8f6d198f2a16b.exe app::tests::test_stringzilla --format=json --exact -Z unstable-options --show-output` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

from stringzilla.

ashvardanian avatar ashvardanian commented on July 22, 2024

@0xqd What kind of Windows machine are you running on? Is that a Aarch64 Arm-based machine by any chance?

from stringzilla.

0xqd avatar 0xqd commented on July 22, 2024

@ashvardanian it's x86_64 with Intel 13900K. Yeah I have seen that report, not sure if you have the solution.

from stringzilla.

ashvardanian avatar ashvardanian commented on July 22, 2024

Is that issue still bothering you, @0xqd? I can try running it on a Windows machine later today 🤗

from stringzilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.