1
0
mirror of https://github.com/golang/go synced 2024-11-05 16:06:10 -07:00
go/godoc/vfs
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
..
httpfs go.tools/godoc: move vfs code to vfs package 2013-07-17 15:02:27 +10:00
mapfs godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
zipfs godoc: more cleanup 2013-07-18 13:51:17 +10:00
namespace.go go.tools/godoc: move vfs code to vfs package 2013-07-17 15:02:27 +10:00
os.go go.tools/godoc: move vfs code to vfs package 2013-07-17 15:02:27 +10:00
vfs.go godoc: move bulk of the code to the package 2013-07-17 17:09:54 +10:00