2 ms·
At 3.7GHz that's roughly 3700 clock cycles per row. With something that low, I'd be really interested to see a breakdown of how many cycles were spent doing wha
by userbinator 10y ago
At 3.7GHz that's roughly 3700 clock cycles per row. With something that low, I'd be really interested to see a breakdown of how many cycles were spent doing what.
- RedCrowbar 10y agoIn the 1M benchmark roughly half is spent decoding rows (in [1]). The rest is spread over interpreter overhead, GC in particular. [1] https://github.com/MagicStack/asyncpg/blob/master/asyncpg/protocol/prepared_stmt.pyx#L192 https://github.com/MagicStack/asyncpg/blob/master/asyncpg/pr...