{ "info": { "author": "James Pickering", "author_email": "james_pic@hotmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Topic :: System :: Monitoring" ], "description": "cPrometheus\n===========\n\nMake `prometheus_client` go faster, with zero effort.\n\n```\nimport cPrometheus # MOAR speed\n\n# Now do stuff with prometheus_client, but faster\nimport prometheus_client\n# ...\n```\n\nNote: This is not compatible with multiprocess mode. If you are using\nmultiprocess mode, this package is not for you.\n\nHow It Works\n------------\n\nInternally, `prometheus_client` stores values in a class called `_MutexValue`.\nAs the name suggests, this class is protected by a mutex, and can become a\nbottleneck when placed in tight inner loops.\n\nThis package monkey patches `prometheus_client` to use its own class,\n`_AtomicValue`, which internally uses gcc's `__atomic` operations.\n\nYes, I know `stdatomic` is more portable, but I've got a requirement to\nsupport gcc 4.8.\n\nFurther Work\n------------\n\n- Be more portable\n- Consider stealing Java 8 `DoubleAdder`'s design, if even more speed is\n needed.\n- Can multiprocess be done?\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/jamespic/cPrometheus/archive/0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jamespic/cPrometheus", "keywords": "monitoring", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cPrometheus", "package_url": "https://pypi.org/project/cPrometheus/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cPrometheus/", "project_urls": { "Download": "https://github.com/jamespic/cPrometheus/archive/0.1.tar.gz", "Homepage": "https://github.com/jamespic/cPrometheus" }, "release_url": "https://pypi.org/project/cPrometheus/0.1/", "requires_dist": null, "requires_python": null, "summary": "A monkey patch for prometheus_client, using GCC atomics for extra speed on CPython", "version": "0.1" }, "last_serial": 2686257, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fff183e58e47eb86e3bb040c8cd38eed", "sha256": "74fa41ae191f6e88ef64b479e7bb89f2092b8796d3a3be814ac334fcbf31c098" }, "downloads": -1, "filename": "cPrometheus-0.1.tar.gz", "has_sig": false, "md5_digest": "fff183e58e47eb86e3bb040c8cd38eed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19659, "upload_time": "2017-03-06T16:26:51", "url": "https://files.pythonhosted.org/packages/b4/55/bdb0de2e1e319a0c66ebf7c52b0ef9f2e2f979d70a7dcb2af551a96093c4/cPrometheus-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fff183e58e47eb86e3bb040c8cd38eed", "sha256": "74fa41ae191f6e88ef64b479e7bb89f2092b8796d3a3be814ac334fcbf31c098" }, "downloads": -1, "filename": "cPrometheus-0.1.tar.gz", "has_sig": false, "md5_digest": "fff183e58e47eb86e3bb040c8cd38eed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19659, "upload_time": "2017-03-06T16:26:51", "url": "https://files.pythonhosted.org/packages/b4/55/bdb0de2e1e319a0c66ebf7c52b0ef9f2e2f979d70a7dcb2af551a96093c4/cPrometheus-0.1.tar.gz" } ] }