summaryrefslogtreecommitdiff
path: root/test/bench
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi2-2/+2
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg2-64/+105
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-0/+91
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg8-1807/+2004
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg16-65/+749
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý67-63/+3179
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý52-0/+7308
2011-09-13Imported Upstream version 60Ondřej Surý52-7260/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+8
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-0/+170
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý2-2/+2
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý4-5/+98
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý9-59/+160
2010-06-03Added regex-dna-parallel.go, a pretty trivial parallelization.Kyle Consalus3-0/+138
R=rsc, r CC=golang-dev http://codereview.appspot.com/972046 Committer: Rob Pike <r@golang.org>
2010-05-03big: completed set of Int division routines & cleanupsRobert Griesemer1-2/+2
- renamed Len -> BitLen, simplified implementation - renamed old Div, Mod, DivMod -> Que, Rem, QuoRem - implemented Div, Mod, DivMod (Euclidian definition, more useful in a mathematical context) - fixed a bug in Exp (-0 was possible) - added extra tests to check normalized results everywhere - uniformly set Int.neg flag at the end of computations - minor cosmetic cleanups - ran all tests R=rsc CC=golang-dev http://codereview.appspot.com/1091041
2010-05-03test/bench: import new fasta C reference, update Go, optimizationsRuss Cox2-222/+297
OLD fasta -n 25000000 gcc -O2 fasta.c 7.59u 0.06s 7.74r gc fasta 9.54u 0.15s 9.84r gc_B fasta 9.48u 0.10s 9.62r NEW fasta -n 25000000 gcc -O2 fasta.c 2.59u 0.02s 2.66r gc fasta 3.00u 0.03s 3.09r gc_B fasta 2.72u 0.03s 2.81r R=r CC=golang-dev http://codereview.appspot.com/1054041
2010-04-30big: use fast shift routinesRobert Griesemer1-2/+2
- fixed a couple of bugs in the process (shift right was incorrect for negative numbers) - added more tests and made some tests more robust - changed pidigits back to using shifts to multiply by 2 instead of add This improves pidigit -s -n 10000 by approx. 5%: user 0m6.496s (old) user 0m6.156s (new) R=rsc CC=golang-dev http://codereview.appspot.com/963044
2010-04-27pidigits: ~10% performance win by using adds instead of shiftsRobert Griesemer1-2/+2
user time for pidigits -s -n=10000: 6.466s w/ adds 7.138s w/ shifts R=rsc CC=golang-dev http://codereview.appspot.com/1021041
2010-04-26Added fannkuch-parallel.goKyle Consalus3-0/+257
R=r, rsc CC=golang-dev http://codereview.appspot.com/978042 Committer: Russ Cox <rsc@golang.org>
2010-04-21test/bench: reenable chameneosredux for gccgo.Rob Pike1-6/+1
run reverse-complement only once. (garbage is no longer an issue) R=rsc CC=golang-dev http://codereview.appspot.com/968041
2010-04-20big: Add Lsh and Value; convert pidigits to use bigEvan Shaw1-22/+28
This yields a pretty significant performance boost to pidigits and there are still some improvements to be made. Here are my numbers: amd64 w/ bignum: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r gc pidigits 22.92u 0.02s 22.97r gc_B pidigits 22.62u 0.00s 22.65r amd64 w/ big: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.09u 0.02s 2.11r gc pidigits 12.68u 0.04s 12.72r gc_B pidigits 12.71u 0.03s 12.75r 386 w/ bignum: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.09u 0.00s 2.09r gc pidigits 44.30u 0.01s 44.35r gc_B pidigits 44.29u 0.03s 44.35r 386 w/ big: pidigits 10000 gcc -O2 pidigits.c -lgmp 2.10u 0.00s 2.10r gc pidigits 22.70u 0.06s 22.79r gc_B pidigits 22.80u 0.09s 22.91r R=rsc, gri CC=golang-dev http://codereview.appspot.com/881050 Committer: Russ Cox <rsc@golang.org>
2010-04-05test/bench: add k-nucleotide-parallelKyle Consalus3-0/+184
R=rsc CC=golang-dev http://codereview.appspot.com/881042 Committer: Russ Cox <rsc@golang.org>
2010-03-30simplify various code using new map index ruleRuss Cox1-11/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-02-25strings: delete Runes, BytesRuss Cox5-8/+5
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-02Change type of Printf's args to ... interface{}Rob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/197043
2010-01-06update timing logs for benchmarks.Rob Pike1-0/+84
some significant improvements: reverse-complement nbody (gccgo only) regex-dna pidigits one mysterious drop: binary-tree.go (gccgo only) R=rsc CC=golang-dev http://codereview.appspot.com/181158
2009-12-151) Change default gofmt default settings forRobert Griesemer15-558/+558
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180050
2009-12-11Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/srcDevon H. O'Dell1-2/+5
This change removes the necessity to have GOBIN in $PATH, and also doesn't assume that the build is being run from $GOROOT/src. This is a minimal set of necessary changes to get Go to build happily from the FreeBSD ports collection. R=rsc CC=golang-dev http://codereview.appspot.com/171044 Committer: Russ Cox <rsc@golang.org>
2009-12-09- gofmt these filesRobert Griesemer1-6/+6
- remove use of implicit string concatenation - these appear to be the only files correctly compiling under test that used implicit string concatenation R=rsc http://codereview.appspot.com/172043
2009-12-07test/bench: faster fasta (mostly due to bufio fix)Russ Cox1-18/+16
R=r http://codereview.appspot.com/165083 Committer: Russ Cox <rsc@golang.org>
2009-12-07changes necessary to get the new chameneosredux onto ↵Roger Peppe2-3/+4
shootout.alioth.debian.org . it's now there: http://shootout.alioth.debian.org/u32q/benchmark.php?test=chameneosredux&lang=all&box=1! R=r, rsc CC=golang-dev http://codereview.appspot.com/167043 Committer: Russ Cox <rsc@golang.org>
2009-12-04test/bench: use range in reverse-complementRuss Cox1-2/+2
1.9s gcc reverse-complement.c reverse-complement.go 4.5s / 3.5s original, with/without bounds checks 3.5s / 3.3s bounds check reduction 3.3s / 2.8s smarter garbage collector 2.6s / 2.3s assembler bytes.IndexByte 2.5s / 2.1s even smarter garbage collector 2.3s / 2.1s fix optimizer unnecessary spill bug 2.0s / 1.9s change loop to range (this CL) R=r http://codereview.appspot.com/166072
2009-12-04test/bench: dead code in reverse-complementRuss Cox1-30/+3
R=r http://codereview.appspot.com/165065
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike2-4/+4
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085
2009-11-30change command-line argument to beRoger Peppe2-9/+13
unnamed, not require -n, in line with other entries. R=rsc CC=r http://codereview.appspot.com/162061 Committer: Russ Cox <rsc@golang.org>
2009-11-24timing log update for new version of chameneosRob Pike1-0/+8
R=rsc CC=golang-dev, rog http://codereview.appspot.com/160054
2009-11-24chameneosredux test modified, bug fixed, fasterRoger Peppe1-133/+106
based on suggestion from arvindht@gmail.com R=r, rsc, r1 http://codereview.appspot.com/157091 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-1/+1
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w test/benchRuss Cox14-261/+255
except chameneosredux which i know is being edited require gofmt for test/bench R=r http://codereview.appspot.com/157110
2009-11-20test/bench revisions;Russ Cox3-28/+46
* reverse-complement: port C algorithm to Go saves 30% on my MacBook Pro and makes it a fairer comparison. * test reverse-complement with and without GC (another 15%) * revise timing.sh to work on more systems * avoid two glibcisms in fasta.c R=r http://codereview.appspot.com/156110
2009-11-18remove bytes.CopyRob Pike2-71/+69
replace all calls with calls to copy use copy in regexp and bytes.Buffer R=rsc CC=golang-dev http://codereview.appspot.com/157073
2009-11-14move evaluation of null-matching instructions one iteration earlier.Rob Pike1-0/+8
performance hit of about 20% but more intuitive results for submatches. we need a good regexp package at some point. Fixes issue 110. R=rsc CC=golang-dev http://codereview.appspot.com/152131
2009-11-08delete TODO now that compiler is better at %Rob Pike1-19/+1
adjust an inconsistency in reflect/type.go's package comment R=rsc http://go/go-review/1026029
2009-11-02use the new routine regexp.MustCompile to clean up some code that uses ↵Rob Pike1-12/+3
global regexps. R=rsc, gri CC=go-dev http://go/go-review/1016025
2009-10-22fix build after Mercurial move.Russ Cox1-16/+19
various missing or incorrect files. R=r CC=go-dev http://go/go-review/1014004
2009-10-03clean moreRuss Cox1-0/+4
R=r DELTA=40 (9 added, 3 deleted, 28 changed) OCL=35277 CL=35305
2009-09-24Sqrt in assembler is worth 3-4X for nbodyRob Pike1-0/+10
R=rsc DELTA=10 (10 added, 0 deleted, 0 changed) OCL=34987 CL=34987
2009-09-22updated numbers after more slice inliningRob Pike1-0/+57
R=rsc DELTA=57 (57 added, 0 deleted, 0 changed) OCL=34896 CL=34901
2009-09-17unused importsRuss Cox2-2/+0
R=r OCL=34731 CL=34731
2009-09-15last round: non-package codeRuss Cox2-3/+3
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650