1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:04:42 -07:00
go/godoc
Brad Fitzpatrick 964f0f559c godoc: feed indexer concurrently, add selective indexing hook, tests
On big corpuses, the indexer was spending most of its time waiting
for filesystem operations (especially with network filesystems)
and not actually indexing.  This keeps the filesystem busy and indexer
running in different goroutines.

Also, add a hook to let godoc hosts disable indexing of certain
directories.

And finally, start adding tests for godoc, which required
fleshing out (and testing) the mapfs code.

R=golang-dev, adg, bgarcia
CC=golang-dev
https://golang.org/cl/21520045
2013-11-05 09:35:58 -05:00
..
redirect go.tools/godoc/redirect: remove redundant redirect rules 2013-10-04 09:49:25 +10:00
static go.tools/godoc/static: use preferred JS for Google+ buttons 2013-10-30 13:13:42 +11:00
util all: be more idiomatic when documenting boolean return values. 2013-07-23 10:37:43 +10:00
vfs godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
corpus.go godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
dirtrees.go godoc: add a Corpus hook to summarize a package 2013-10-30 11:34:32 -07:00
format.go go.tools/godoc: Fix jump-to-line in source view. 2013-08-01 11:52:25 +10:00
godoc.go godoc: add ability to override generation of links to source code. 2013-11-01 13:20:32 -04:00
index_test.go godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
index.go godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
linkify.go godoc: remove the last of the global variables, unexport Server 2013-07-19 10:27:53 +10:00
meta.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
page.go godoc: more cleanup 2013-07-18 13:51:17 +10:00
parser.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
pres.go godoc: add ability to override generation of links to source code. 2013-11-01 13:20:32 -04:00
search.go godoc: move search from cmd to the package 2013-07-19 14:02:03 +10:00
server.go go.tools/cmd/godoc: don't list factory functions under types in builtin package 2013-08-28 09:39:02 +10:00
snippet.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
spec.go godoc: move bulk of the code to the package 2013-07-17 17:09:54 +10:00
spot.go godoc: actually include files from previous CL 2013-07-17 17:17:12 +10:00
tab.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
template.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00