Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
66a93729
Commit
66a93729
authored
Mar 04, 2013
by
Jan Ziak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/bench/garbage: fix parser benchmark
R=golang-dev, dvyukov CC=golang-dev
https://golang.org/cl/7435053
parent
b0bb6f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
18 deletions
+77
-18
test/bench/garbage/parser.go
test/bench/garbage/parser.go
+77
-18
No files found.
test/bench/garbage/parser.go
View file @
66a93729
...
...
@@ -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
{
"archive"
,
"archive/tar"
,
"encoding/asn1"
,
"math/big"
,
"archive/zip"
,
"bufio"
,
"builtin"
,
"bytes"
,
"math/cmplx"
,
"compress"
,
"compress/bzip2"
,
"compress/flate"
,
"compress/gzip"
,
"compress/lzw"
,
"compress/zlib"
,
"container"
,
"container/heap"
,
"container/list"
,
"container/ring"
,
"crypto"
,
"crypto/aes"
,
"crypto/cipher"
,
"crypto/des"
,
"crypto/dsa"
,
"crypto/ecdsa"
,
"crypto/elliptic"
,
"crypto/hmac"
,
"crypto/md5"
,
"crypto/rand"
,
...
...
@@ -159,64 +170,112 @@ var packages = []string{
"crypto/subtle"
,
"crypto/tls"
,
"crypto/x509"
,
"crypto/x509/pkix"
,
"database"
,
"database/sql"
,
"database/sql/driver"
,
"debug"
,
"debug/dwarf"
,
"debug/macho"
,
"debug/elf"
,
"debug/gosym"
,
"exp/ebnf"
,
"debug/macho"
,
"debug/pe"
,
"encoding"
,
"encoding/ascii85"
,
"encoding/asn1"
,
"encoding/base32"
,
"encoding/base64"
,
"encoding/binary"
,
"encoding/csv"
,
"encoding/gob"
,
"encoding/hex"
,
"encoding/json"
,
"encoding/pem"
,
"os/exec"
,
"encoding/xml"
,
"errors"
,
"expvar"
,
"flag"
,
"fmt"
,
"go"
,
"go/ast"
,
"go/build"
,
"go/doc"
,
"go/format"
,
"go/parser"
,
"go/printer"
,
"go/scanner"
,
"go/token"
,
"
encoding/gob
"
,
"
go/types
"
,
"hash"
,
"hash/adler32"
,
"hash/crc32"
,
"hash/crc64"
,
"net/http"
,
"hash/fnv"
,
"html"
,
"html/template"
,
"image"
,
"image/color"
,
"image/draw"
,
"image/gif"
,
"image/jpeg"
,
"image/png"
,
"index"
,
"index/suffixarray"
,
"io"
,
"io/ioutil"
,
"encoding/json"
,
"log"
,
"log/syslog"
,
"math"
,
"math/big"
,
"math/cmplx"
,
"math/rand"
,
"mime"
,
"mime/multipart"
,
"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/exec"
,
"os/signal"
,
"os/user"
,
"path"
,
"
math/rand
"
,
"
path/filepath
"
,
"reflect"
,
"regexp"
,
"
net/rpc
"
,
"
regexp/syntax
"
,
"runtime"
,
"text/scanner"
,
"runtime/cgo"
,
"runtime/debug"
,
"runtime/pprof"
,
"runtime/race"
,
"sort"
,
"net/smtp"
,
"strconv"
,
"strings"
,
"sync"
,
"sync/atomic"
,
"syscall"
,
"log/syslog"
,
"text/tabwriter"
,
"text/template"
,
"testing"
,
"testing/iotest"
,
"testing/quick"
,
"text"
,
"text/scanner"
,
"text/tabwriter"
,
"text/template"
,
"text/template/parse"
,
"time"
,
"unicode"
,
"unicode/utf8"
,
"unicode/utf16"
,
"encoding/xml"
,
"unicode/utf8"
,
"unsafe"
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment