Re:Show HN: 1M rows/s from Postgres to Python
by userbinator on Thursday August 04, 2016 @11:30PM
(#12229881)
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.
[ Parent
| on HN ]
Re:Show HN: 1M rows/s from Postgres to Python
by RedCrowbar on Friday August 05, 2016 @09:10AM
(#12232001)
In 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/pr...