dNino Posted July 24, 2007 Share Posted July 24, 2007 What do you mean by that?Is it that my progam is working faster now or you have a script that works faster than mine?the last (I think, I can't messure it), but I must say, I think it is much faster now.my problem is the searching part. I can't get it quickly. I have now files from about 4 and 1 MB, but it takes still about 6 seconds to search. Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 (edited) Seems ok... What you are doing is:- opening blank.html- writing contents- loading it- opening it again in write mode (with erasure of previous contents)Am I right? If so, much better than previously...Srry But - opening blank.html- writing contents- loading it- opening it again in write mode (with erasure of previous contents)I found Autohotkey(I found out it an total copy of Autoit V2) at 11 and Autoit at 12You Are Worng I Just need Blank.Htm To Create IE Obj It Only Use One Time At the BeginAnd It did not write anythings to blank.htm I Use InnerHTML To Display It a trickThis How i do itPoint the obj IE To Blank.Htm to have a display(I WE Point With InnerHTML Direct it will not display ??)loop right here Use InnerHTML To Display(change only the display not the source)Am I right? If so, much better than previously... << It Much Faster Because I Did not write any fileHere I Just Try My Best Adding Song MetaDownload316 KB Thanks Edited July 25, 2007 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 the last (I think, I can't messure it), but I must say, I think it is much faster now.my problem is the searching part. I can't get it quickly. I have now files from about 4 and 1 MB, but it takes still about 6 seconds to search.Could you paste the relevant portion of the log file for this operation?Options > Logs / Advanced (depending on version)Select the date and click on "Front End"... (please note that changes to the log are no commited until neoSearch closes successfully; unless of course its running in safe mode)The search operation times will be displayed in the log file... Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 Srry But - opening blank.html- writing contents- loading it- opening it again in write mode (with erasure of previous contents)I found Autohotkey(I found out it an total copy of Autoit V2) at 11 and Autoit at 12You Are Worng I Just need Blank.Htm To Create IE Obj It Only Use One Time At the BeginAnd It did not write anythings to blank.htm I Use InnerHTML To Display It a trickThis How i do itPoint the obj IE To Blank.Htm to have a display(I WE Point With InnerHTML Direct it will not display ??)loop right here Use InnerHTML To Display(change only the display not the source)Am I right? If so, much better than previously... << It Much Faster Because I Did not write any fileHere I Just Try My Best Adding Song MetaDownload316 KB ThanksIf that's what you are doing, you don't even need blank.html...just open "about:blank" and modify the HTML in real time...It should work... I haven't tried it out... Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 Magic! It work Nicely Thanks Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
dNino Posted July 25, 2007 Share Posted July 25, 2007 Could you paste the relevant portion of the log file for this operation?Options > Logs / Advanced (depending on version)Select the date and click on "Front End"... (please note that changes to the log are no commited until neoSearch closes successfully; unless of course its running in safe mode)The search operation times will be displayed in the log file...I actually mend that my search is slow, but I see that yours isn't so fast either.neoSearch startup @ 13:28(54)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 243.66s13:28(55) > Creating the input gui13:32(09) > Search for 'hoi' was slow13:32(09) > Time taken: 5.641 seconds13:32(19) > User requests for gui termination13:32(19) > Program termination.13:32(19) > Safe state cleared. (NHC)neoSearch startup @ 13:32(21)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 103.1s13:32(22) > Creating the input gui13:34(51) > Search for 'ab' was slow13:34(51) > Time taken: 0.357 seconds13:34(52) > Search for 'abc' was slow13:34(52) > Time taken: 1.145 seconds13:34(57) > Query string NULL13:35(00) > Search for 'abc' was slow13:35(00) > Time taken: 0.997 seconds13:35(06) > User requests for gui termination13:35(06) > Program termination.13:35(06) > Safe state cleared. (NHC)neoSearch startup @ 00:09(33)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 82.74s00:09(34) > Creating the input gui00:09(45) > Search for 'hoi' was slow00:09(45) > (!) Time taken: 6.052 seconds00:09(45) > User sends 'hoi' as query for detailed HTML based results00:09(53) > Time Taken: 4.67 seconds00:09(53) > Creating the input gui00:09(54) > Query string NULL00:12(23) > Attempting to start indexing00:21(24) > Search for 'hoi' was slow00:21(24) > (!) Time taken: 5.381 seconds00:21(38) > Search for 'hoi g' was slow00:21(38) > (!) Time taken: 5.542 seconds00:21(38) > Query string NULL00:21(40) > Search for 'bet' was slow00:21(40) > (!) Time taken: 0.311 seconds00:21(41) > Query string NULL00:21(45) > Search for 'abc' was slow00:21(45) > (!) Time taken: 0.982 seconds00:21(52) > Query string NULL00:21(57) > Query string NULL00:22(01) > Query string NULL00:22(03) > Search for 'index' was slow00:22(03) > (!) Time taken: 0.397 seconds00:22(10) > Search for 'index d' was slow00:22(10) > (!) Time taken: 0.395 seconds00:22(14) > Search for 'index di' was slow00:22(14) > (!) Time taken: 1.482 seconds00:22(16) > Search for 'index dirs' was slow00:22(16) > (!) Time taken: 1.485 seconds00:22(20) > Search for 'index dir' was slow00:22(20) > (!) Time taken: 1.475 seconds00:22(21) > Search for 'index' was slow00:22(21) > (!) Time taken: 0.403 seconds00:22(21) > Search for 'index n' was slow00:22(21) > (!) Time taken: 0.394 seconds00:22(23) > Search for 'index nam' was slow00:22(23) > (!) Time taken: 1.502 seconds00:22(24) > Search for 'index names' was slow00:22(24) > (!) Time taken: 1.478 seconds00:22(28) > User requests for gui termination00:22(28) > Program termination.00:22(28) > Safe state cleared. (NHC)as you can see my log is full with slow-search warnings. Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 I actually mend that my search is slow, but I see that yours isn't so fast either.as you can see my log is full with slow-search warnings.That's really weird... Its possible to get such warnings but only if the search space is really that huge and the computer processor is slow to match...could you tell me:- what options you've selected for indexing?- Number of files in your index, size of the index, etc. (details listed under: Options > Index (/Schedule))- What processor does your computer have? (If its a laptop, ensure its running on external power; if u r using Vista, make the system run in "High Performance Mode" from the battery icon)(To measure the performance of your processor, download KJSearch (first post), open Options > Performance and click revaluate processor speed and give me the result)- What operating system and file system (FAT32/NTFS) are you using?If you need some quick improvements by optimizing you system for performance, run DiskMax (I know I'm plugging my own product, but there is a reason I have faith in it).I might need some more information to see what changes I'll have to make to my code, I'll add diagnostics to my code to automatically do a deep check.. Tell me the answers to the above for now... Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 That's really weird... Its possible to get such warnings but only if the search space is really that huge and the computer processor is slow to match...could you tell me:- what options you've selected for indexing?- Number of files in your index, size of the index, etc. (details listed under: Options > Index (/Schedule))- What processor does your computer have? (If its a laptop, ensure its running on external power; if u r using Vista, make the system run in "High Performance Mode" from the battery icon)(To measure the performance of your processor, download KJSearch (first post), open Options > Performance and click revaluate processor speed and give me the result)- What operating system and file system (FAT32/NTFS) are you using?If you need some quick improvements by optimizing you system for performance, run DiskMax (I know I'm plugging my own product, but there is a reason I have faith in it).I might need some more information to see what changes I'll have to make to my code, I'll add diagnostics to my code to automatically do a deep check.. Tell me the answers to the above for now...Is It The More You Type The Faster You Get ???Like A Will File More Than AA Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 (edited) Are You Finding This Code Func _SelfDelete($iDelay = 0) Local $sCmdFile FileDelete(@TempDir & "\scratch.bat") $sCmdFile = 'ping -n ' & $iDelay & '127.0.0.1 > nul' & @CRLF _ & ':loop' & @CRLF _ & 'del "' & @ScriptFullPath & '"' & @CRLF _ & 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _ & 'del ' & @TempDir & '\scratch.bat' FileWrite(@TempDir & "\scratch.bat", $sCmdFile) Run(@TempDir & "\scratch.bat", @TempDir, @SW_HIDE) EndFunc Edited July 25, 2007 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 Is It The More You Type The Faster You Get ???Like A Will File More Than AAThe more you type, the slower you get because: - Time to process the query before the index is called takes longer. (like removing white spaces, splitting, checking validity) - Time before 4 matching result is obtained is longer too..Ideally the search space should get smaller but for dynamic results, the overhead for recreating the search space (smaller ones) is too much to justify on regular computers like ours. I can tweak my algorithm for high performance servers with massive number of files, but seeing that most users of the program are not running that... i have a few ideas, but don't have the time to implement it now... but keep watching... Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 Are You Finding This Code Func _SelfDelete($iDelay = 0) Local $sCmdFile FileDelete(@TempDir & "\scratch.bat") $sCmdFile = 'ping -n ' & $iDelay & '127.0.0.1 > nul' & @CRLF _ & ':loop' & @CRLF _ & 'del "' & @ScriptFullPath & '"' & @CRLF _ & 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _ & 'del ' & @TempDir & '\scratch.bat' FileWrite(@TempDir & "\scratch.bat", $sCmdFile) Run(@TempDir & "\scratch.bat", @TempDir, @SW_HIDE) EndFunc yes! this was what i told u i came across a long time back... thanks for finding it... i'll incorporate it in the next version... Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 :) (!) (!) (!) (!) (!) (!) (!) (!) (!) (!) (!) (!) (!) (!) :D Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
dNino Posted July 25, 2007 Share Posted July 25, 2007 I have vista ultimate (NTFS file system)I don't include the ID3 info, but I include the system files in my indexMy laptop is running on ac-power, but power saving. When I click on maximum performance, it is twice as fast, but still the slow-search warnings.neoSearch startup @ 14:32(35)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 63.7s14:32(36) > Creating the input gui14:32(43) > Search for 'HOI' was slow14:32(43) > Time taken: 3.294 seconds14:35(54) > User requests for gui termination14:35(54) > Program termination.14:35(54) > Safe state cleared. (NHC)neoSearch startup @ 14:35(56)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 60.09s14:35(56) > Creating the input gui14:39(00) > Search for 'abc' was slow14:39(00) > Time taken: 0.602 seconds14:39(08) > User requests for gui termination14:39(08) > Program termination.14:39(08) > Safe state cleared. (NHC)and for my performance I use ccleaner. Not diskmax, sorry... Link to comment Share on other sites More sharing options...
WolfWorld Posted July 25, 2007 Share Posted July 25, 2007 KJohn If You Delete the progress bar and all info I think it will save lot of time Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 (edited) I have vista ultimate (NTFS file system)I don't include the ID3 info, but I include the system files in my indexMy laptop is running on ac-power, but power saving. When I click on maximum performance, it is twice as fast, but still the slow-search warnings.and for my performance I use ccleaner. Not diskmax, sorry...Tip 1: Running the system on "Power Saver" while connected to a power supply, has no real benefits. The biggest negative is that the processor will run at about half the original speed. That is, your processor is running at somewhere around 800 MHz when in power saver mode. The performance drop will be noticed right across all applications. It is recommended that you either manually switch it between "High Performance" and "Power Saver" depending on power source OR, just leave the settings on "Balanced".Tip 2: Indexing system files has a "not recommended" next to it. It is not recommended precisely for a reason. This is true especially on Vista, where the system files more than DOUBLES the number of files to be indexed. If you need quick access to some utilities like "cmd.exe" then, create a folder on your desktop and place shortcuts to these within that folder.Tip 3: 182 MB is an extremely large index. And this is what is causing the searching to be slow (refer tip 2). Use the Include and exclude tabs in the Options window to restrict the files to be indexed to the ones you are likely to search for! The smaller the index, the faster the searching process.Tip 4: CCleaner is fine, but you should also use Disk Defragmenter regularly. You can also open event viewer by typing in 'event' in the start menu and clear out all the logs. I suggested DiskMax since all these logs and defragging is supervised by DiskMax automatically (around 165 event logs). Its fine if you don't want to run DiskMax, but clearing out those logs, at least manually, is a good idea when you get the time.Update in the works: Around 5 months back, my indexing process (in KJSearch) used to have an optimizing step that was designed to deal with the problem that you are facing. But I removed it so as to improve indexing time by a few seconds. I'll put it back as an option. I promise it will solve your problem. But to implement it back properly, I won't be able to do it till August 20th or so. Do you mind waiting?KJohn If You Delete the progress bar and all infoI think it will save lot of timeHe's not talking about the speed of the indexing process. He's talking about the speed of the searching dynamically. Edited July 25, 2007 by Koshy John Link to comment Share on other sites More sharing options...
KJohn Posted July 25, 2007 Author Share Posted July 25, 2007 KJohn If You Delete the progress bar and all infoI think it will save lot of timeI did a check on the progress bar thing by removing it altogether.Stats:Indexing time with progress bar: 20 secondsIndexing time without progress bar: 18 secondsPeople can wait a few more seconds if it means that they know exactly what is happening during the indexing process. Link to comment Share on other sites More sharing options...
dNino Posted July 25, 2007 Share Posted July 25, 2007 (edited) I think I found a bug, when you stop the indexing proces, and later start indexing, it does the files that were done in the previous breaked index operation quickly. And he remembers the speed, so the remaining seconds with the other files arent correct.Edit:for testing I've excluded the system files from indexing:the files a second while indexing are a lot higher now strangly enough...neoSearch startup @ 23:40(01)version: 1.00 compiled: 01 August 2007 Startup procedure delay: 67.51s23:40(01) > Creating the input gui23:40(11) > Attempting to start indexing23:40(59) > Attempting to start indexing23:44(59) > Search for 'ho' was slow23:44(59) > Time taken: 0.454 seconds23:45(01) > Search for 'hoi' was slow23:45(01) > Time taken: 1.685 seconds23:45(24) > User requests for gui termination23:45(24) > Program termination.23:45(24) > Safe state cleared. (NHC)so even with the smaller index and full-performance energy setting I've still slow-search warnings. Edited July 25, 2007 by dNino Link to comment Share on other sites More sharing options...
sandman Posted July 25, 2007 Share Posted July 25, 2007 This GUI is awesome, looks so Vista-ish! Where'd you learn to make it like that? [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
WolfWorld Posted July 26, 2007 Share Posted July 26, 2007 (edited) Ha Like You Say KJohn Test It Before And I Found Something about:Blank Work But We Canงะ Click On The Link When We Do InnterHTML So about Blank Fail and I am plan on limit the Results for faster how many Results should i put before stop it!! Is 25 ok 25 for song and 25 for file Edited July 26, 2007 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
KJohn Posted July 26, 2007 Author Share Posted July 26, 2007 I think I found a bug, when you stop the indexing proces, and later start indexing, it does the files that were done in the previous breaked index operation quickly. And he remembers the speed, so the remaining seconds with the other files arent correct.Edit:for testing I've excluded the system files from indexing:the files a second while indexing are a lot higher now strangly enough...so even with the smaller index and full-performance energy setting I've still slow-search warnings.That's not really a bug... Different files take different times to process before putting into the index... neoSearch bases its estimates on what it has seen upto that point... I could do more complex calculations for a slightly more accurate listing of data but it would seriously slow down the indexing process... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now