[Xapian-devel] PHP Latest

Daniel Ménard Daniel.Menard at Bdsp.tm.fr
Fri Apr 21 18:35:55 BST 2006


Olly Betts a écrit :

>>Exec times I obtained are : (...)
>>- 0.9.4 release version : 8.84 8.96 9.00 9.01 8.81 8.84 8.80 8.83
>>- 0.9.4 with xapian_wrap8.cc, commenting all lines wich reference 
>>'set_sort_by_relevance_then_value' : 9.51 9.49 9.53 9.52 9.51
>>- 0.9.5 release version : 8.81 8.87 8.85 8.85 8.86
>>- 0.9.5 with xapian_wrap8.cc : 9.38 9.40 9.38 9.33 9.36 9.34
>>    
>>
>Can you try this pair:
>
>http://www.oligarchy.co.uk/xapian/patches/xapian_wrap8b.cc
>http://www.oligarchy.co.uk/xapian/patches/xapian8b.phps
>  
>
Bingo !
xapian 0.9.5 + xapian_wrap8b.cc, calling flat functions : 8.89 8.86 8.85 
8.92 8.84
(very comparable with exec times I got previously with the relase versions)

xapian 0.9.5 + xapian_wrap8b.cc+xapian8b.php : 14.31 14.27 14.14 14.24 14.21
Last test with xapian 0.9.5 release + my old hand made wrapper was 14.45
Better exec time ever got with my wrapper was with xapian 0.9.4 : 13.88 
(stoke of luck ?)

For now, I have to go, and I won't be able to participate for about one 
week and a half.
If you wan't me to test anything, don't hesitate, I will do when I will 
be back.

Also : I started to play with generating some doc from the xml output of 
doxygen, as you suggested.
For now, I'm just trying to set-up an xslt stylesheet who would generate 
a big html file.
Generating this doc would just incur adding in the make file something like
"xsltproc doc.xslt apidoc/xml/index.xml > xxx/phpdoc/index.html"

This is the first time I play with xslt (I let you imagine!), and there 
are some nasty things to do, like filtering classes, methods and types 
which are not in the wrapper, but it seems that it is feasable.
More on this as soon that I have something I can show without being 
ashamed !

All the best !

-- 

Daniel Ménard

Banque de Données Santé Publique
Avenue du Professeur Léon Bernard
35043 Rennes Cédex

Tél. (+33) 2.99.02.29.42
Fax (+33) 2.99.02.26.28
E-mail Daniel.Menard at Bdsp.tm.fr
http://www.bdsp.tm.fr




More information about the Xapian-devel mailing list