---
name: "pyFAI-benchmark"
section: "1"
platform: "linux"
package: "pyfai"
version: "0.20.0+dfsg1-3"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/pyFAI-benchmark"
---

# pyFAI-benchmark(1)

utility to run the benchmark for azimuthal integration on images of various sizes

## NAME

pyFAI - utility to run the benchmark for azimuthal integration on images of various sizes

## DESCRIPTION

usage: benchmark \[options\]

Benchmark for Azimuthal integration

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **-v**, **--version**

  show program's version number and exit

- **-d**, **--debug**

  switch to verbose/debug mode

- **-c**, **--cpu**

  perform benchmark using OpenCL on the CPU

- **-g**, **--gpu**

  perform benchmark using OpenCL on the GPU

- **-a**, **--acc**

  perform benchmark using OpenCL on the Accelerator (like XeonPhi/MIC)

- **-s** SIZE, **--size** SIZE

  Limit the size of the dataset to X Mpixel images (for computer with limited memory)

- **-n** NUMBER, **--number** NUMBER

  Number of repetition of the test (or time used for each test), by default 10

- **-2d**, **--2dimention**

  Benchmark also algorithm for 2D-regrouping

- **--no-1dimention**

  Do not benchmark algorithms for 1D-regrouping

- **-m**, **--memprof**

  Perfrom memory profiling (Linux only)

- **-r** REPEAT, **--repeat** REPEAT

  Repeat each benchmark x times to take the best
