Skip to content

Commit

Permalink
Ruby GC tuning for zendesk classic (8% test speed improvement claimed)
Browse files Browse the repository at this point in the history
  • Loading branch information
edsinclair committed Aug 1, 2013
1 parent aa1bdf0 commit 3340409
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .zshenv
@@ -1,3 +1,9 @@
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
eval "$(/Users/esinclair/github/zendesk/z/bin/z init -)"
# Big app GC tuning
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000

0 comments on commit 3340409

Please sign in to comment.