Displaying 2 results from an estimated 2 matches for "profilingxapian".
2011 Dec 30
0
How to count I/O consuming in OProfile while profiling xapian
Hi,
I have tried to profile xapian, according to the Wiki:
http://trac.xapian.org/wiki/ProfilingXapian, we can profiling I/O bound
cases with oprofile, but from many other articles, it seems that we can not
do it in oprofile.
I have followed that wiki page, installed oprofile and libc6-dbg, but it
doesn't work, only CPU bound functions are counted.
Anyone know how to count I/O cost in oprofile...
2012 Nov 21
1
about index speed of xapian
hi,
i use xapian to index a txt file, it's size is 268M. i take each line as a document, and each line has two field like 13445511 | 111115151. the recored size is 10000000. the XAPIAN_FLUSH_THRESHOLD set 1000000. it takes 1026544ms to index the file, it is more slower than lucene. The lucene speed is about 40000 records per second.
code:
try
{
Xapian::WritableDatabase