Giter VIP home page Giter VIP logo

autobench's Introduction

autobench

autobench is a framework to compare the performance of Go 1.1 and Go 1.2.

usage

autobench downloads and builds the latest Go 1.1 and Go tip branches and runs a set of Go 1 benchmarks for comparison.

Useful targets are

make bench		# runs all benchmarks, _once_
make go1 		# runs bench/go1 benchmarks _once_
make runtime 	# runs bench/runtime benchmarks _once_
make http	 	# runs bench/http benchmarks _once_
make float	 	# runs bench/float benchmarks _once_
make clean 		# removes any previous benchmark results
make update		# updates both branches to the latest revision, clears any benchmark results

You can optionally benchmark with gccgo instead of gc by either uncommenting the corresponding line in the Makefile or by setting TESTFLAGS to an appropriate value:

make TESTFLAGS=-compiler=gcc bench

known issues

  • If you are using OS X 10.8 and/or have upgraded to XCode 5, your system no longer has a gcc compiler and so will not work with Go 1.1's cgo package. The best workaround is to invoke autobench with env CGO_ENABLED=0 make $TARGET to avoid compiling Go with cgo enabled.

contributing

Contributions and pull requests are always welcome. If you are submitting a pull request with benchmark data, please include the value of OLD and NEW at the top of the Makefile in the suffix of your file (follow the examples) so we can trace which revision this benchmark was taken from. If you want to include commentry in your benchmark, comments should start with a #.

 make > linux-386-go1.1.2-vs-go.1.2rc3.txt

licence

This package uses benchmark code from the Go project. Where otherwise unspecified this code is released into the public domain.

autobench's People

Contributors

aeronotix avatar atomsymbol-notifications avatar boj avatar btracey avatar clausecker avatar davecheney avatar jamesog avatar mewmew avatar mrkvm avatar nickstenning avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.