===========
Make `prometheus_client` go faster, with zero effort.
```
import cPrometheus # MOAR speed
# Now do stuff with prometheus_client, but faster
import prometheus_client
# ...
```
Note: This is not compatible with multiprocess mode. If you are using
multiprocess mode, this package is not for you.
How It Works
------------
Internally, `prometheus_client` stores values in a class called `_MutexValue`.
As the name suggests, this class is protected by a mutex, and can become a
bottleneck when placed in tight inner loops.
This package monkey patches `prometheus_client` to use its own class,
`_AtomicValue`, which internally uses gcc's `__atomic` operations.
Yes, I know `stdatomic` is more portable, but I've got a requirement to
support gcc 4.8.
Further Work
------------
- Be more portable
- Consider stealing Java 8 `DoubleAdder`'s design, if even more speed is
needed.
- Can multiprocess be done?
Metadata
Release files for cPrometheus 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cPrometheus-0.1.tar.gz | 19.7 kB | Without provenance | Details for cPrometheus-0.1.tar.gz |
Release files / cPrometheus-0.1.tar.gz
| Download URL | cPrometheus-0.1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74fa41ae191f6e88ef64b479e7bb89f2092b8796d3a3be814ac334fcbf31c098
|
|
BLAKE2b-256 checksum How to use checksums |
b455bdb0de2e1e319a0c66ebf7c52b0ef9f2e2f979d70a7dcb2af551a96093c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cPrometheus 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.