<br><div class="gmail_quote">On Sun, Apr 1, 2012 at 12:30 PM, Raveendra Bhat <span dir="ltr"><<a href="mailto:ravee.bhat69@gmail.com" target="_blank">ravee.bhat69@gmail.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, <br><br><div class="im">Sorry for the late reply.I had my academic tests and  I was waiting for  your reply for my last mail. In the meanwhile I have done following works:<br><br>1. First of all I cleared my misconception about benchmarks, that it is done only on two separate machines. And learnt that there are other circumstances where benchmarks are also used to measure performances of a function an operation etc...<br>




<br>2.Also I came across Sebastian Trueg's blog about why a central DBus architecture is required for nepomuk data management.<br><br>3. Studied about QTestLib framework and API. How a basic test is created and how QBENCHMARK macro is added to a test function that we want to benchmark.<br>




<br>4. Also tried few of the examples given in QTestLib tutorial and succeeded to write test functions for my own small sample class.<br><br>Sorry, I couldn't do more work because of my college tests. I hope you would give me a feedback on the work i have done and what more work to be done. I believe it would help me come up with a proof of concept and writing a proposal. <br>

<div><div>


<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 12:50 AM, Raveendra Bhat <span dir="ltr"><<a href="mailto:ravee.bhat69@gmail.com" target="_blank">ravee.bhat69@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





Hi Vishesh,<div><br></div><div>Firstly thanks for your replyI went through your blog post and had a look at your code. I could able to understand your filewatcher test and identificationtest. I have some doubts with respect to what needs to be done in the GSoC period. </div>






<div><br></div><div>1. Project statement clearly says, I need to write testcases for nepomuk services. Does it involve ontology,storage,query and strigi services? What exactly do you mean by porting Nepomuk::Resources to the testing framework? Writing testcases for all Nepomuk::Resource properties/methods? </div>

</blockquote></div></div></div></div></blockquote><div><br>Yup. In fact some of the tests already exist, but since Nepomuk::Resource has been ported to the new architecture, it now relies on dbus and requires a running nepomuk storage.<br>

<br>Nepomuk::Storage does a lot of caching, and tries to keep the cache up to date. That all needs tests.<br><br></div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div>2. According to my knowledge about bench marks, I believe that it should be done on 2 seperate systems under test. Can you please give me a clear picture of <b>benchmarking</b> the caching time,property fetch time? </div>






<div>3.Bench marking for file indexer means some tool like system monitor which displays memory and CPU usage of the indexer?</div></blockquote></div></div></div></blockquote></div><div><br>yes. In fact I'd like something to monitor the memory and cpu usage of virtuoso as well.<br>

<br>Benchmarking strigi - Needs to be benchmarked (with memory and cpu usage) for different file types<br>Benchmarking virtuoso - We need to be able to see how fast certain queries run and how long much memory does virtuoso consume. This will help a lot in the process of optimizing the sparql query libraries (kdelibs/nepomuk/query)<br>

<br>So, overall here is what I'm looking for -<br><br>* Benchmarks for strigi and virtuoso<br>* Unit tests for Nepomuk::Resource<br>* Integrated testing for the file-watcher and indexer ( This will involve creating a mock kde session and touching certain files to see if they are re-indexed )<br>

<br>Eventually I should be able to write a test for say 'storeResources' and see how much memory and cpu virtuoso are consuming. Or compare between different nepomuk versions to see how fast it is to push in large blobs of data.<br>

<br>Plus, we're going to be completely re-structuring the Nepomuk::Resource internals, so your tests will go a long way in making sure that we do not break anything.<br><br>Do you have any prior experience with Qt or KDE?<br>

<br></div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div> </div><div><br></div><div>Waiting for your reply. Mean while I'll be looking at your code and will come up with a proof of concept. <div>



<div><br>
<br><div class="gmail_quote">On Wed, Mar 28, 2012 at 8:26 PM, Vishesh Handa <span dir="ltr"><<a href="mailto:me@vhanda.in" target="_blank">me@vhanda.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<br><br><div class="gmail_quote"><div><div>On Wed, Mar 28, 2012 at 6:10 PM, Raveendra Bhat <span dir="ltr"><<a href="mailto:ravee.bhat69@gmail.com" target="_blank">ravee.bhat69@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br> <br>  I am Raveendra from India. I am interested in writing a Test framework for nepomuk.  I have a basic knowledge how nepomuk works.I am familiar with Qt C++ development.But i am not familiar with testing libraries in Qt/C++.<br>









<br>Please can you tell me more in details about this project? I want to be a Kontributor.<span><font color="#888888"><br clear="all"></font></span></blockquote></div></div><div><br>Hey Raveendra<br><br>I'm basically expecting someone to continue with my test framework [1]. That would involved porting the Nepomuk::Resource tests to the test framework, cause they now require a dbus session.<br>







  <br>Additionally, I would want benchmarks on Nepomuk::Resource. How long does it take to fill up the cache? Fetching properties and so on. You'll even need to write more tests for it.<br><br>Now with the introduction with Nepomuk 2.0 and the data management API, I would want benchmarks on the new functions as well. ( They already have a lot of unit tests, so you do not need to write those )<br>







<br>I guess, I'd also want some kind of benchmarks for the file indexer.<br><br>That's just the start. Look at every existing nepomuk service. If they do not have tests, they need them.<br><br>[1] <a href="http://vhanda.in/blog/2012/03/nepomuk-test-framework/" target="_blank">http://vhanda.in/blog/2012/03/nepomuk-test-framework/</a><br>







</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span><font color="#888888"><br>-- <br>regards,<br><br>B R Raveendra<br><br>
</font></span><br></div>_______________________________________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org" target="_blank">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>regards,<br><br>B R Raveendra<br><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>regards,<br><br>B R Raveendra<br><br>
</div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br></font></span><br></div><br clear="all">-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>