-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
homework_06 #1271
base: master
Are you sure you want to change the base?
homework_06 #1271
Conversation
# Размер объекта в памяти: 134217656 | ||
# Размер сериализованных данных (json): 8293148 | ||
# Размер сериализованных данных (msgpack): 4098847 | ||
# --- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
но в целом хорошо
# "Серебряной пулей" в данном вопросе мне кажутся библиотеки, | ||
# компилирующие в бинарный код типа cython и numba, однако их | ||
# использование накладывает существенные ограничения на этап | ||
# развертывания приложения и не всегда допустимо. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
отлично, Сергей
доказать!!! (наглядно, кодом) их эффективность (на примере профилировщика) | ||
""" | ||
from timememit import timememit | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
что такое timememit ???
# | ||
# --- | ||
# | ||
# Видно, что обернутая функция показывает суммарное потребление памяти |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
хорошо
No description provided.