1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:54:40 -07:00
go/godoc/vfs/mapfs
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
..
mapfs_test.go godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00
mapfs.go godoc: feed indexer concurrently, add selective indexing hook, tests 2013-11-05 09:35:58 -05:00