Which version of 4D are you using? Some versions have a bug in LEP that causes them to use 100% of the CPU when they are waiting for the result, thus drastically slowing everything down.
If you repeat it from the command line instead from inside 4D, what happens? -- Jeffrey Kain jeffrey.k...@gmail.com > On May 16, 2017, at 3:26 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Interestingly this is way slower than crawling through the directories. Using > my SearchFolderContents_Jut method which I posted in my original message it > takes about 35 seconds to find 526 documents in a folder where the documents > are at most nested 3 folders deep. Using LEP to search the same 526 documents > takes almost 3 minutes! ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************