Commit 66a93729 authored by Jan Ziak's avatar Jan Ziak

test/bench/garbage: fix parser benchmark

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/7435053
parent b0bb6f8c
...@@ -134,20 +134,31 @@ func main() { ...@@ -134,20 +134,31 @@ func main() {
} }
} }
// find . -type d -not -path "./exp" -not -path "./exp/*" -printf "\t\"%p\",\n" | sort | sed "s/\.\///" | grep -v testdata
var packages = []string{ var packages = []string{
"archive",
"archive/tar", "archive/tar",
"encoding/asn1", "archive/zip",
"math/big",
"bufio", "bufio",
"builtin",
"bytes", "bytes",
"math/cmplx", "compress",
"compress/bzip2",
"compress/flate", "compress/flate",
"compress/gzip", "compress/gzip",
"compress/lzw",
"compress/zlib", "compress/zlib",
"container",
"container/heap", "container/heap",
"container/list", "container/list",
"container/ring", "container/ring",
"crypto",
"crypto/aes", "crypto/aes",
"crypto/cipher",
"crypto/des",
"crypto/dsa",
"crypto/ecdsa",
"crypto/elliptic",
"crypto/hmac", "crypto/hmac",
"crypto/md5", "crypto/md5",
"crypto/rand", "crypto/rand",
...@@ -159,64 +170,112 @@ var packages = []string{ ...@@ -159,64 +170,112 @@ var packages = []string{
"crypto/subtle", "crypto/subtle",
"crypto/tls", "crypto/tls",
"crypto/x509", "crypto/x509",
"crypto/x509/pkix",
"database",
"database/sql",
"database/sql/driver",
"debug",
"debug/dwarf", "debug/dwarf",
"debug/macho",
"debug/elf", "debug/elf",
"debug/gosym", "debug/gosym",
"exp/ebnf", "debug/macho",
"debug/pe",
"encoding",
"encoding/ascii85", "encoding/ascii85",
"encoding/asn1",
"encoding/base32",
"encoding/base64", "encoding/base64",
"encoding/binary", "encoding/binary",
"encoding/csv",
"encoding/gob",
"encoding/hex", "encoding/hex",
"encoding/json",
"encoding/pem", "encoding/pem",
"os/exec", "encoding/xml",
"errors",
"expvar",
"flag", "flag",
"fmt", "fmt",
"go",
"go/ast", "go/ast",
"go/build",
"go/doc", "go/doc",
"go/format",
"go/parser", "go/parser",
"go/printer", "go/printer",
"go/scanner", "go/scanner",
"go/token", "go/token",
"encoding/gob", "go/types",
"hash", "hash",
"hash/adler32", "hash/adler32",
"hash/crc32", "hash/crc32",
"hash/crc64", "hash/crc64",
"net/http", "hash/fnv",
"html",
"html/template",
"image", "image",
"image/color",
"image/draw",
"image/gif",
"image/jpeg", "image/jpeg",
"image/png", "image/png",
"index",
"index/suffixarray",
"io", "io",
"io/ioutil", "io/ioutil",
"encoding/json",
"log", "log",
"log/syslog",
"math", "math",
"math/big",
"math/cmplx",
"math/rand",
"mime", "mime",
"mime/multipart",
"net", "net",
"net/http",
"net/http/cgi",
"net/http/cookiejar",
"net/http/fcgi",
"net/http/httptest",
"net/http/httputil",
"net/http/pprof",
"net/mail",
"net/rpc",
"net/rpc/jsonrpc",
"net/smtp",
"net/textproto",
"net/url",
"os", "os",
"os/exec",
"os/signal",
"os/user",
"path", "path",
"math/rand", "path/filepath",
"reflect", "reflect",
"regexp", "regexp",
"net/rpc", "regexp/syntax",
"runtime", "runtime",
"text/scanner", "runtime/cgo",
"runtime/debug",
"runtime/pprof",
"runtime/race",
"sort", "sort",
"net/smtp",
"strconv", "strconv",
"strings", "strings",
"sync", "sync",
"sync/atomic",
"syscall", "syscall",
"log/syslog",
"text/tabwriter",
"text/template",
"testing", "testing",
"testing/iotest", "testing/iotest",
"testing/quick", "testing/quick",
"text",
"text/scanner",
"text/tabwriter",
"text/template",
"text/template/parse",
"time", "time",
"unicode", "unicode",
"unicode/utf8",
"unicode/utf16", "unicode/utf16",
"encoding/xml", "unicode/utf8",
"unsafe",
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment