Skip to main content

DIRAC Benchmark 2012

Project description

DB12

DIRAC benchmark 2012 is a really quick benchmark, originally developed by Ricardo Graciani (https://github.com/graciani) that uses wrapper functions by Andrew McNab (https://github.com/Andrew-McNab-UK) to run multiple copies in parallel. Imane Iraoui (https://github.com/ImanIra0ui/) ported it to py3 and added many tests. The current maintainers are Federico Stagni (https://github.com/fstagni) and Alexandre Boyer (https://github.com/aldbr).

It is distributed from https://github.com/DIRACGrid/DB12.

Install

To install the DB12 package, run:

pip install DB12

Use

From the Command line interface

You can execute a single DB12 benchmark with the following command:

db12 single

To get further information, read the help:

db12 --help

From your code

After installation, the package can be imported by typing:

from db12 import single_dirac_benchmark
single_dirac_benchmark()

Contribute

Development

DB12 is a fully open source project, and you are welcome to contribute to it:

  • Fork the project
  • Develop
  • Create a Pull Request to propose a change

Code quality

To ensure the code meets DB12's coding conventions we recommend installing pre-commit system wide using your operating system's package manager. Alteratively, pre-commit is included in the Python3 development environment, see the development guide for details on how to create one. Once pre-commit is installed you can enable it by running:

pre-commit install --allow-missing-config

Code formatting will now be automatically applied before each commit.

Score analysis

DB12 has been ported to Python3 in October 2021, this created discrepancies in the scores. You might need to run an analysis of the DB12 scores to mitigate these discrepancies.

Further details: here

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

DB12-1.0.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

DB12-1.0.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file DB12-1.0.2.tar.gz.

File metadata

  • Download URL: DB12-1.0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for DB12-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fab97a28cb7100c0c499b0e4746f7de7de1a472fc56f8376adf949efc6b055fa
MD5 97c87f65467a2f5ac5fb652074f6d9e6
BLAKE2b-256 b9ba37b7d1e254bfdcbf02daa53a2c8ed42e89f2301fb0448887c2e3d6094048

See more details on using hashes here.

File details

Details for the file DB12-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: DB12-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for DB12-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a79130629a24161efc5254f8434600b34c80cc4bfd1c79cd27f77717b16886a
MD5 521896bb0b7caff2bddba5d3e23bb1f1
BLAKE2b-256 4925c932a770a83cdc5c5aa9aade7bd511ddcdfc1cebfde48823746a30ab786e

See more details on using hashes here.

Supported by

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