Skip to main content

A Framework for Reliable Benchmarking and Resource Measurement.

Project description

Build Status Code Quality Test Coverage PyPI version Apache 2.0 License

News:

  • BenchExec 1.8 stores results in ZIP archives to save space and make their handling easier.

  • We have published a paper titled Benchmarking and Resource Measurement on BenchExec and its background at SPIN 2015. It also contains a list of rules that you should always follow when doing benchmarking (and which BenchExec handles for you).

BenchExec provides three major features:

  • execution of arbitrary commands with precise and reliable measurement and limitation of resource usage (e.g., CPU time and memory)

  • an easy way to define benchmarks with specific tool configurations and resource limits, and automatically executing them on large sets of input files

  • generation of interactive tables and plots for the results

Contrary to other benchmarking frameworks, it is able to reliably measure and limit resource usage of the benchmarked tool even if it spawns subprocesses. In order to achieve this, it uses the cgroups feature of the Linux kernel to correctly handle groups of processes. Optionally, it can execute benchmarks under a separate user account. BenchExec is intended for benchmarking non-interactive tools on Linux systems. It measures CPU time, wall time, and memory usage of a tool, and allows to specify limits for these resources. It also allows to limit the CPU cores and (on NUMA systems) memory regions. In addition to measuring resource usage, BenchExec can verify that the result of the tool was as expected, and extract further statistical data from the output. Results from multiple runs can be combined into CSV and interactive HTML tables, of which the latter provide scatter and quantile plots (have a look at our demo table).

BenchExec works only on Linux and needs a one-time setup of cgroups by the machine’s administrator. The actual benchmarking can be done by any user and does not need root access.

BenchExec was originally developed for use with the software verification framework CPAchecker and is now developed as an independent project at the Software Systems Lab at the University of Passau.

Users of BenchExec

BenchExec was successfully used for benchmarking in all four instances of the International Competition on Software Verification with a wide variety of benchmarked tools and hundreds of thousands benchmark runs.

The developers of the following tools use BenchExec:

If you would like to be listed here, contact us.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BenchExec-1.8.tar.gz (392.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

BenchExec-1.8-py3.4.egg (437.3 kB view details)

Uploaded Egg

BenchExec-1.8-py3-none-any.whl (205.8 kB view details)

Uploaded Python 3

BenchExec-1.8-py2.7.egg (204.4 kB view details)

Uploaded Egg

File details

Details for the file BenchExec-1.8.tar.gz.

File metadata

  • Download URL: BenchExec-1.8.tar.gz
  • Upload date:
  • Size: 392.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BenchExec-1.8.tar.gz
Algorithm Hash digest
SHA256 a256e72a310566f3d85b97c8f563d4cb143a2cb115ec1bc7e17f6bfbab370d92
MD5 c895c41cab06c5e7cd44d5aadc76c904
BLAKE2b-256 5dcff1ba00de7ddeb4161e96d3da3059fa94d05db5b51b8d53555d48c4142171

See more details on using hashes here.

File details

Details for the file BenchExec-1.8-py3.4.egg.

File metadata

  • Download URL: BenchExec-1.8-py3.4.egg
  • Upload date:
  • Size: 437.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BenchExec-1.8-py3.4.egg
Algorithm Hash digest
SHA256 535ce78cfb48e9d91769f0c02c1ce9ef74e9d666b529f9c9d37bbafd574addbd
MD5 b079dca6561c8895b2ec1c345ab829cc
BLAKE2b-256 bb4de1a5c4e5f157dbea22aa9b6821c9d136ee7d3b5030e3aeb8bad04652ab41

See more details on using hashes here.

File details

Details for the file BenchExec-1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for BenchExec-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe3adb4ee6ae8e246f6be8222f827f99d813e42a9dfae471ec74e284ebe4681
MD5 072373f620720b4ee4a796341a3183bb
BLAKE2b-256 b87ec2ae0407915c25e22399a3a8769b27c108f26217487d6cf425784aca18ee

See more details on using hashes here.

File details

Details for the file BenchExec-1.8-py2.7.egg.

File metadata

  • Download URL: BenchExec-1.8-py2.7.egg
  • Upload date:
  • Size: 204.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BenchExec-1.8-py2.7.egg
Algorithm Hash digest
SHA256 ddb13b7df30b993cfca7a0700eb582ff0019e9002a48d78a79231a8480732429
MD5 fda986e876e72b171e594c35980113d6
BLAKE2b-256 e22d3a23c5c4ef34abc3be93d7fd0561bbf7a098f28770e8cdb1c24159c9ad4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page