A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-February/143061.html below:

[Python-Dev] Opcode cache in ceval loop

[Python-Dev] Opcode cache in ceval loop [Python-Dev] Opcode cache in ceval loopSerhiy Storchaka storchaka at gmail.com
Tue Feb 2 15:07:11 EST 2016
On 02.02.16 21:23, Yury Selivanov wrote:
> Alright, I modified the code to optimize ALL code objects, and ran unit
> tests with the above tests excluded:
>
> -- Max process mem (ru_maxrss)     = 131858432
> -- Opcode cache number of objects  = 42109
> -- Opcode cache total extra mem    = 10901106

Thank you for doing these tests. Now results are more convincing to me.

> And asyncio tests:
>
> -- Max process mem (ru_maxrss)     = 57081856
> -- Opcode cache number of objects  = 4656
> -- Opcode cache total extra mem    = 1766681

> FWIW, here are stats for asyncio with only hot objects being optimized:
>
> -- Max process mem (ru_maxrss)     = 54775808
> -- Opcode cache number of objects  = 121
> -- Opcode cache total extra mem    = 43521

Interesting, 57081856 - 54775808 = 2306048, but 1766681 - 43521 = 
1723160. There are additional 0.5Mb lost during fragmentation.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4