Permalink
Browse files

Ruby GC tuning for zendesk classic (8% test speed improvement claimed)

  • Loading branch information...
1 parent aa1bdf0 commit 334040917354c8490b6c77af64f933b37731a6c3 @edsinclair committed Aug 1, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 .zshenv
View
@@ -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.