{ "info": { "author": "Caner \u00c7\u0131dam", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python" ], "description": "# timeitd\nA timeit decorator which makes benchmark scripts easy\n\n## Installation\n```\n$ pip install timeitd\n```\n\n## Example\n```python\n# bench_myfunction.py\nfrom timeitd import timeit\nfrom some_module import myfunction\n\n@timeit(number=10000, unit=\"ns\")\ndef bench_myfunction():\n v = do_something()\n myfunction(v)\n```\n\nOutput of this benchmark script is:\n```\nbench_myfunction execution avg: 1100.312300004589 ns\n```\n\nDependent on `timeit` module.\nTime unit is available for ms, us and ns.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/canercidam/timeitd", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "timeitd", "package_url": "https://pypi.org/project/timeitd/", "platform": "", "project_url": "https://pypi.org/project/timeitd/", "project_urls": { "Homepage": "https://github.com/canercidam/timeitd" }, "release_url": "https://pypi.org/project/timeitd/1.0/", "requires_dist": null, "requires_python": "", "summary": "Simple timeit decorator for benchmark functions", "version": "1.0" }, "last_serial": 3269034, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "757010cb64821c633cd33e62e39f8f2e", "sha256": "cd7afd69909a3fe0acb055dc16fb23299ddf1314bef3e5f8a842a6859fa516c1" }, "downloads": -1, "filename": "timeitd-1.0.tar.gz", "has_sig": false, "md5_digest": "757010cb64821c633cd33e62e39f8f2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2015, "upload_time": "2017-10-21T23:07:51", "url": "https://files.pythonhosted.org/packages/f3/49/0ad509b8a44e880e129ac134ca8db3c285e81737f991c7c13717a26499cd/timeitd-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "757010cb64821c633cd33e62e39f8f2e", "sha256": "cd7afd69909a3fe0acb055dc16fb23299ddf1314bef3e5f8a842a6859fa516c1" }, "downloads": -1, "filename": "timeitd-1.0.tar.gz", "has_sig": false, "md5_digest": "757010cb64821c633cd33e62e39f8f2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2015, "upload_time": "2017-10-21T23:07:51", "url": "https://files.pythonhosted.org/packages/f3/49/0ad509b8a44e880e129ac134ca8db3c285e81737f991c7c13717a26499cd/timeitd-1.0.tar.gz" } ] }