Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Tuning Ruby's GC params for faster `sup`
@ 2014-06-13  0:04 Aravind Narayanan
  2014-06-21  9:59 ` Ico Doornekamp
  0 siblings, 1 reply; 3+ messages in thread
From: Aravind Narayanan @ 2014-06-13  0:04 UTC (permalink / raw)
  To: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 711 bytes --]

Hey everyone,

I'm sharing this to see if any else does this, and whether or not it makes
sense to include in the defaults.

`sup` was kind of slow for me, and sometimes took a few seconds to open up
an (albeit large) email thread. I ran `perftools.rb` on it to see what was
taking up so much time, and was surprised to find that ~ 60% of wallclock
time was spent in GC.

So, I tuned Ruby's GC to not run so often, resulting in GC now taking only
13% of wall clock time. Anecdotally, I also noticed that threads loaded
much much faster. The params I set were
https://gist.github.com/rvnd/756d6a5e82d1bba9fbb9.

Anyone else notice this? Are there any other tricks people use to speed up
`sup`?

Regards,
Aravind

[-- Attachment #1.2: Type: text/html, Size: 973 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-21 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13  0:04 [sup-talk] Tuning Ruby's GC params for faster `sup` Aravind Narayanan
2014-06-21  9:59 ` Ico Doornekamp
2014-06-21 17:55   ` Gaute Hope

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox