[Nepomuk] Fwd: GSoC 2012 - Testing and Benchmarking in Nepomuk

Raveendra Bhat ravee.bhat69 at gmail.com
Sun Apr 1 09:38:59 UTC 2012


---------- Forwarded message ----------
From: Raveendra Bhat <ravee.bhat69 at gmail.com>
Date: Sun, Apr 1, 2012 at 12:30 PM
Subject: Re: [Nepomuk] GSoC 2012 - Testing and Benchmarking in Nepomuk
To: Vishesh Handa <me at vhanda.in>


Hi,

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:

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...

2.Also I came across Sebastian Trueg's blog about why a central DBus
architecture is required for nepomuk data management.

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.

4. Also tried few of the examples given in QTestLib tutorial and succeeded
to write test functions for my own small sample class.

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.


On Fri, Mar 30, 2012 at 12:50 AM, Raveendra Bhat <ravee.bhat69 at gmail.com>wrote:

> Hi Vishesh,
>
> 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.
>
> 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?
> 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 *benchmarking* the caching time,property fetch time?
> 3.Bench marking for file indexer means some tool like system monitor which
> displays memory and CPU usage of the indexer?
>
> Waiting for your reply. Mean while I'll be looking at your code and will
> come up with a proof of concept.
>
>
> On Wed, Mar 28, 2012 at 8:26 PM, Vishesh Handa <me at vhanda.in> wrote:
>
>>
>>
>> On Wed, Mar 28, 2012 at 6:10 PM, Raveendra Bhat <ravee.bhat69 at gmail.com>wrote:
>>
>>> Hi,
>>>
>>>   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++.
>>>
>>> Please can you tell me more in details about this project? I want to be
>>> a Kontributor.
>>>
>>
>> Hey Raveendra
>>
>> 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.
>>
>> 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.
>>
>> 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 )
>>
>> I guess, I'd also want some kind of benchmarks for the file indexer.
>>
>> That's just the start. Look at every existing nepomuk service. If they do
>> not have tests, they need them.
>>
>> [1] http://vhanda.in/blog/2012/03/nepomuk-test-framework/
>>
>>>
>>> --
>>> regards,
>>>
>>> B R Raveendra
>>>
>>>
>>> _______________________________________________
>>> Nepomuk mailing list
>>> Nepomuk at kde.org
>>> https://mail.kde.org/mailman/listinfo/nepomuk
>>>
>>>
>>
>>
>> --
>> Vishesh Handa
>>
>>
>
>
> --
> regards,
>
> B R Raveendra
>
>


-- 
regards,

B R Raveendra




-- 
regards,

B R Raveendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120401/e978126e/attachment.html>


More information about the Nepomuk mailing list