note for memory using

This commit is contained in:
Alexander Popov 2022-09-24 21:43:51 +03:00
parent e4de575a61
commit 0eae3ef7de
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
1 changed files with 12 additions and 0 deletions

View File

@ -214,6 +214,18 @@ while True:
Код бота можно найти по этой ссылке.
[iiiypuk/snipplets.dev:Python/irc-bot.py](https://git.a2s.su/iiiypuk/snipplets.dev/src/branch/master/~/Python/irc-bot.py)
## Потребление памяти
На моей конфигурации скрипт потребляет примерно 6,8-7.0Mb.
```text
Linux porteus.example.net 5.18.8-porteus #1 SMP PREEMPT_DYNAMIC Sat Jul 2 10:05:31 MSK 2022 x86_64
Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz GenuineIntel GNU/Linux
```
Тот же самый код, но на [Crystal](https://crystal-lang.org/)
потребляет 1.7Mb памяти.
## Используемые материалы
* Internet Relay Chat Protocol RFC [[Ссылка]](http://web.archive.org/web/20170929015000/http://www2.irchelp.org:80/irchelp/rfc/rfc.html)