Giter Club home page Giter Club logo

go-performane-tuning's Introduction

go-performane-tuning's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-performane-tuning's Issues

不要为了性能而牺牲可靠性!!

不要为了可靠性而牺牲性能

I can make things very fast if they don't have to be correct. -- Russ Cox

最后,不要为了可靠性而牺牲性能

Readable means reliable -- Rob Pike

性能和可靠性同样重要。

benchStat

并没有出现偏离值。

172-1-1-188:1.基准测试 xuqianlong$ go test -bench=Fib20 -count=10 ./examples/fib/ | tee old.txt
goos: darwin
goarch: amd64
pkg: test/WorkSpace/Allen/00002基础/15test/go-performane-tuning/1.基准测试/examples/fib
BenchmarkFib20-8           30000             47164 ns/op
BenchmarkFib20-8           30000             47414 ns/op
BenchmarkFib20-8           30000             49779 ns/op
BenchmarkFib20-8           30000             47105 ns/op
BenchmarkFib20-8           30000             47386 ns/op
BenchmarkFib20-8           30000             47752 ns/op
BenchmarkFib20-8           30000             46331 ns/op
BenchmarkFib20-8           30000             46323 ns/op
BenchmarkFib20-8           30000             46483 ns/op
BenchmarkFib20-8           30000             47675 ns/op
PASS
ok      test/WorkSpace/Allen/00002基础/15test/go-performane-tuning/1.基准测试/examples/fib      19.013s

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.