معرفی شرکت ها


YAPBWD-0.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Yet Another Profiler But With Decorators
ویژگی مقدار
سیستم عامل OS Independent
نام فایل YAPBWD-0.0.1
نام YAPBWD
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Serg_Sel
ایمیل نویسنده seregasel44@gmail.com
آدرس صفحه اصلی https://github.com/SergSel2006/YAPBWD
آدرس اینترنتی https://pypi.org/project/YAPBWD/
مجوز -
# YAPBWD - Yet Another Profiler But With Decorators This Profiler uses decorators, so it is easy to use: * Want to profile time of your program? No problem! Just add @YAPBWD.time_profiler * Want see how much memory your program uses? Here you are: add @YAPBWD.memory_profiler * This profiler also has clones of above decorators with many_ prefix. As it says, it runs the program many times and says the average time or memory. Cannot understand? Here is a basic demonstration script for you! ```python import YAPBWD @YAPBWD.time_profiler def main(some_arguments): return some_arguments + 1 if __name__ == '__main__': main(2) ``` After execution, you can see the time it takes to Python to add one to a number. ## Why you need it? Well... I think time profiling is useful for everyone, but who will really know how much memory it requires doing something? I know that it is still useful for everybody who will write something like a math algorithm to test it is works fine and there are no problems. ###### P.S: Don't try to use two decorators if you need to have accuracy measurements, because the result will be spoiled for a little. Also, You shouldn't profile memory many times if you are having cache function like a lru_cache from functools. Another thing, profiler decorators should be at the top of a decorators to work normally.


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl YAPBWD-0.0.1:

    pip install YAPBWD-0.0.1.whl


نصب پکیج tar.gz YAPBWD-0.0.1:

    pip install YAPBWD-0.0.1.tar.gz