Git Product home page Git Product logo

Comments (4)

gliwka avatar gliwka commented on May 31, 2024

The best thing would be to operate on the same corpora the native hyperscan benchmark tool hsbench is operating on, see https://01.org/blogs/jpviiret/2017/performance-analysis-hyperscan-hsbench

from hyperscan-java.

toddleo avatar toddleo commented on May 31, 2024

I can't help to notice that hyperscan-java is an order of magnitude slower in my use case. Hence I created my test cases (not the same corpora of hyperscan benchmark though), to see if there's room for improvements. Here's how to use my benchmark.

from hyperscan-java.

gliwka avatar gliwka commented on May 31, 2024

@toddleo can you describe your use case and provide an example on how you attempt to use hyperscan-java in a new issue? It's not clear to me from your "benchmark code" what your exact use case is.

Furthermore, it's advisable to use a benchmark framework like JMH (see here for an introduction), because JVM benchmarking is hard to get right.

from hyperscan-java.

toddleo avatar toddleo commented on May 31, 2024

@gliwka you are right scalatest might not be the proper tool for benchmark. I'll see what I can do with sbt-jmh (or maybe ScalaMeter) in the following days, and update description for my use case.

Nevertheless, happy new year! 🎆

from hyperscan-java.

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.