<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_mail.git/src/leap/mail/imap/tests, branch ppa</title>
<subtitle>[leap_mail] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/'/>
<entry>
<title>add test for empty mailbox creation</title>
<updated>2014-09-10T23:17:00+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-09-10T23:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=eba412b4338fe5cfce0155bb1aabfe40025c036c'/>
<id>eba412b4338fe5cfce0155bb1aabfe40025c036c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>split tests in different modules</title>
<updated>2014-09-04T00:09:41+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-09-03T23:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=4ececdae474791ab58b42f195bfe37e9ad3d03b2'/>
<id>4ececdae474791ab58b42f195bfe37e9ad3d03b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix and migrate tests to trial</title>
<updated>2014-09-04T00:09:31+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-08-26T22:42:39+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=7729355e679bb8f7e2cef2caf6219664a333006f'/>
<id>7729355e679bb8f7e2cef2caf6219664a333006f</id>
<content type='text'>
We cannot use setUpClass when running tests with trial.
But, after all, it's not *so* expensive to initialize a new soledad
instance (since we'll be mostly using the memstore for the tests).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We cannot use setUpClass when running tests with trial.
But, after all, it's not *so* expensive to initialize a new soledad
instance (since we'll be mostly using the memstore for the tests).
</pre>
</div>
</content>
</entry>
<entry>
<title>On the mac, the tempdir is not created at /tmp, so checking the tempdir format instead</title>
<updated>2014-08-21T15:44:29+00:00</updated>
<author>
<name>Bruno Wagner Goncalves</name>
<email>bwagner@thoughtworks.com</email>
</author>
<published>2014-08-21T15:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=b9005640877047f5167533e20f5b7d14bef9e9c9'/>
<id>b9005640877047f5167533e20f5b7d14bef9e9c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mail parsing performance improvements</title>
<updated>2014-02-20T20:17:25+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-02-20T06:52:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=b2d97c9faef6037a065e2903afe5b0ab2624917e'/>
<id>b2d97c9faef6037a065e2903afe5b0ab2624917e</id>
<content type='text'>
Although the do_parse function is deferred to threads, we were actually
waiting till its return to fire the callback of the deferred, and hence
the "append ok" was being delayed. During massive appends, this was a
tight loop contributing as much as 35 msec, of a total of 100 msec
average.

Several ineficiencies are addressed here:

* use pycryptopp hash functions.
* avoiding function calling overhead.
* avoid duplicate call to message.as_string
* make use of the string size caching capabilities.
* avoiding the mail Parser initialization/method call completely,
  in favor of the module helper to get the object from string.

Overall, these changes cut parsing to 50% of the initial timing by my
measurements with line_profiler, YMMV.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the do_parse function is deferred to threads, we were actually
waiting till its return to fire the callback of the deferred, and hence
the "append ok" was being delayed. During massive appends, this was a
tight loop contributing as much as 35 msec, of a total of 100 msec
average.

Several ineficiencies are addressed here:

* use pycryptopp hash functions.
* avoiding function calling overhead.
* avoid duplicate call to message.as_string
* make use of the string size caching capabilities.
* avoiding the mail Parser initialization/method call completely,
  in favor of the module helper to get the object from string.

Overall, these changes cut parsing to 50% of the initial timing by my
measurements with line_profiler, YMMV.
</pre>
</div>
</content>
</entry>
<entry>
<title>select instead of examine</title>
<updated>2014-02-17T15:39:50+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-02-12T16:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=3490773898c0b1af76ff18b088b099b7cde677e7'/>
<id>3490773898c0b1af76ff18b088b099b7cde677e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>long-due update to unittests!</title>
<updated>2014-02-17T15:37:04+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-02-06T22:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=ee0786c57d72aa8b8da76533f33c3dd65253a878'/>
<id>ee0786c57d72aa8b8da76533f33c3dd65253a878</id>
<content type='text'>
So we're safe under the green lights before further rewriting.
:)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we're safe under the green lights before further rewriting.
:)
</pre>
</div>
</content>
</entry>
<entry>
<title>minimal regression tests</title>
<updated>2014-02-05T18:01:29+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-02-05T15:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=3511f7992e67bc49e9fc4771f4b2c0d9199822d7'/>
<id>3511f7992e67bc49e9fc4771f4b2c0d9199822d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow to pass file as argument</title>
<updated>2014-01-30T18:20:56+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-01-29T20:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=37090301e633cdf9aa0c924ea3899d4c5d4fcdb9'/>
<id>37090301e633cdf9aa0c924ea3899d4c5d4fcdb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docstring fixes</title>
<updated>2014-01-30T18:20:44+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2014-01-28T22:39:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=a7e0054b595822325f749b0b1df7d25cab4e6486'/>
<id>a7e0054b595822325f749b0b1df7d25cab4e6486</id>
<content type='text'>
Also some fixes for None comparisons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also some fixes for None comparisons.
</pre>
</div>
</content>
</entry>
</feed>
