Giter Club home page Giter Club logo

bench's Introduction

Goblint benchmark suite

This contains the suite of benchmarks we currently use to evaluate Goblint. To run the benchmarks, make sure this repository is checked out in a directory with the same parent as the Goblint analyzer.

Basic Benchmarks

Execute the script ./update_bench.rb and view the results in bench_result/index.html. The kernel benchmarks rely on linux headers in the analyzer's directory (installed by executing make headers).

The benchmarks descriptions are assumed to be in a file called bench.txt. If this is absent it is symlinked to index/dd.txt. The idea was that one should locally replace with a hard copy without modifying the default descriptions.

traces

Beforehand run in Goblint directory:

make privPrecCompare

traces_rel

Beforehand run in Goblint directory:

make apronPrecCompare

Incremental Benchmarks

Beforehand run in Goblint directory:

make messagesCompare
  1. Create a setup definition, such as index/defs/incremental.yaml, to specify the different analyses and parameters to run. Do not add the incremental save and load commands since these are added by some ugly mechanisms.
  2. If necessary, edit the benchmark sets, such as index/sets/posix.yaml.
  3. Run script with parameters for timeout, conf, and list of benchmark sets, e.g., ./update_bench_incremental.rb 60 index/defs/incremental.yaml index/sets/synthetic.yaml index/sets/posix.yaml

Add patches by changing some benchmark and doing, e.g., git diff --no-prefix dtlk.c > dtlk04.patch, and then of course restore the file.

Other Benchmarking scripts

  • parallel-run.sh to run the config in that script in parallel and log each program
  • csv-results.ml to extract some numbers from each log and print a csv of it
  • precision.sh to let goblint compare two variants for each program and write the result to a .precision file

bench's People

Contributors

sim642 avatar vesalvojdani avatar michael-schwarz avatar vogler avatar jerhard avatar kalmera avatar ranerl avatar karoliineh avatar healthypunk avatar schwmart avatar ranerr avatar gitter-badger avatar

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.