Skip to main content

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

Metadata

Release files for DB12 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DB12 1.0.4
File Size Uploaded
DB12-1.0.4.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DB12 1.0.4
File Interpreter ABI Platform
DB12-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / DB12-1.0.4.tar.gz

Download URL DB12-1.0.4.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
014ddd87f8652fbf88ce5ad016dfdfbfc92c3845f3d294121aff1aa1a9552a5b
BLAKE2b-256 checksum
How to use checksums
30064d1544d66027e969a95e953e4cc680abe02bf0c059fe710b00be0d2a8258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / DB12-1.0.4-py3-none-any.whl

Download URL DB12-1.0.4-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2dbb96e77e43870e02f3dfe32bb9a4e0ad0a6e68db65bc2d5ac96b136469e2d3
BLAKE2b-256 checksum
How to use checksums
5a3617015b7bae2783f7bbde50a8bafdeb702802c080322204f1bfcae25b9e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page