Forwarding to list ---------- Forwarded message ---------- From: Baruch Burstein <bmburst...@gmail.com> Date: Tue, Jun 19, 2012 at 11:08 AM Subject: Re: [fossil-users] Patch for simple searching To: "Weber, Martin S" <martin.we...@nist.gov>
I tested my search on the pcgsrc repository you mentioned. The first search took over 2 minutes, subsequent searches on the same check-in were 5 seconds or so. Searching on different check-ins again took anywhere from almost a minute to almost 3. I assume this is due to the caching of the undeltafied content. It was pretty obvious this crude search wouldn't scale well, but thank you for the much bigger test cases I can now use for trying again. On Mon, Jun 18, 2012 at 11:35 PM, Weber, Martin S <martin.we...@nist.gov>wrote: > They're _big_. I don't know about the netbsd source repo, but joerg once > wrote it's taking him like 90 minutes to clone, ugh. The pkgsrc one is > available via FTP, too: > > http://ftp.netbsd.org/pub/NetBSD/misc/repositories/fossil/ > > Regards, > -Martin > > On 2012-06-18 16:03 , "Baruch Burstein" <bmburst...@gmail.com> wrote: > > > > > > >On Mon, Jun 18, 2012 at 10:53 PM, Weber, Martin S <martin.we...@nist.gov> > >wrote: > > > > > > > >On 2012-06-18 15:15 , "Baruch Burstein" <bmburst...@gmail.com> wrote: > > > >>I wrote a patch to do simple searching on the source tree at a given > >>check-in. > >>Note: This is very minimalistic and has much room for improvement: > >>1) It just does a straight glob on the files. It does not differentiate > >>between whole or partial words, and is always case sensitive. > >> > >>2) Opening a file in the list does not mark the search terms. > >>3) The search box itself is not formatted in any way (CSS) > >>4) I experimented with creating a search index, and doing so would help > >>solve problems 1&2, but this seems to work well enough for a start. I > >>tested it on the Tcl repository (which is the largest fossil repository I > >>am aware of) > > > > > >I hereby make you aware of two violently bigger repositories: The fossil > >mirror of the netbsd source repository and the pkgsrc repository, both > >hosted by joerg sonnenberger: > > > >http://netbsd.sonnenberger.org > >http://pkgsrc.sonnenberger.org > > > >:) > > > >-Martin > > > > > > > >I am cloning them now. Thank you for the information. Just how big are > >they (=how long will the clone run for)? > > > > > > > > > > > >-- > >˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı > > > > > > -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users