Use pool allocation for st_table #83

Closed
wants to merge 2 commits into
from

Projects

None yet

4 participants

@funny-falcon

Usage of specialized pool allocation for st_table, st_table_entry and st_table.bins of smallest size.

It gives up to 20% peak performance improvement (assuming C extension like in test below) and up to 4% in average (assuming rails application). Also it gives considerable memory footprint reduction.

Performance testing is here https://gist.github.com/1626602

@gucki
gucki commented Feb 1, 2012

After installing the tuned ruby using https://gist.github.com/1688857 my specs run about 10-20% faster. No problems nor instabilities so far -> +1 :)

@burke
burke commented Aug 11, 2012

Just an added (fairly large number) of datapoint(s): Nearly everyone at @Shopify has been running with this patch in development and production for over half a year with no bugs traced back to it.

@zzak
Member
zzak commented Nov 18, 2012

Closing this, please refer to feature #5903 on redmine

@zzak zzak closed this Nov 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment