<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>I am using <a href="https://github.com/virtan/eep">https://github.com/virtan/eep</a></div><div><br></div><div>- Dmitry</div><div><br></div><div><br><div><div>On 31 Jul 2014, at 15:02, Giovanni Giorgi <<a href="mailto:jj@gioorgi.com">jj@gioorgi.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div style="font-size: 10pt"><p>Hi all,</p><p> I am writing a code indexer called er_zaueker: it is based on erlang and redis: <a href="https://github.com/daitangio/er_zauker">https://github.com/daitangio/er_zauker</a></p><div> <br class="webkit-block-placeholder"></div><p>It is also my "erlang learning project".</p><p>I am trying to optimize it.</p><p>What are the OTP API I can use to find out where is spent much of the time?</p><p>I need an aggregate timing value to find the slowest functions.</p><p><span style="font-size: 12px;">er_zauker breaks the files in "trigram" and push them to redis. This part is done sequentially on a single file, whereas file processing is spread via a lot of processes. </span></p><p><span style="font-size: 12px;">The entire work is higly I/O bound, but I hope to break the 10 files per second barrier soon.</span></p><p><span style="font-size: 12px;">I'd like tu understang if it make sense to have more processes per single file.</span></p><p>To collect trigram I am using the sets module, but I think R17 maps could be even more fast.</p><div> <br class="webkit-block-placeholder"></div>
<div>
<pre>---
Gio's Blog <a href="http://gioorgi.com">http://gioorgi.com</a></pre>
</div>
</div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br></div></body></html>