|
Boost Users : |
Subject: Re: [Boost-users] why boost is so slow for file search?
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2012-06-13 17:45:12
On 12 June 2012 23:04, young <yqin_99_at_[hidden]> wrote:
> Boost takes 1.00 ms while Win32 taks 0.15 ms for same directory. Why?
In spite of the overhead of the characters conversion mentioned by others,
my are not that far apart (number of files in dir=2338, time in secs):
0-------
win32: 0.00175283 2338
boost: 0.00527004 2338
1-------
win32: 0.00159307 2338
boost: 0.00464673 2338
2-------
win32: 0.00151897 2338
boost: 0.0045553 2338
3-------
win32: 0.00154784 2338
boost: 0.00427396 2338
4-------
win32: 0.00152827 2338
boost: 0.00400867 2338
5-------
win32: 0.00155811 2338
boost: 0.00416361 2338
6-------
win32: 0.00175219 2338
boost: 0.00411325 2338
7-------
win32: 0.00153629 2338
boost: 0.00410458 2338
8-------
win32: 0.00153501 2338
boost: 0.00405454 2338
9-------
win32: 0.00155907 2338
boost: 0.0039984 2338
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net