github.com/detailyang/fastrand-go@v0.0.0-20191106153122-53093851e761/README.md (about)

     1  <p align="center">
     2    <b>
     3      <span style="font-size:larger;">fastrand-go</span>
     4    </b>
     5    <br />
     6     <a href="https://travis-ci.org/detailyang/fastrand-go"><img src="https://travis-ci.org/detailyang/fastrand-go.svg?branch=master" /></a>
     7     <a href="https://ci.appveyor.com/project/detailyang/fastrand-go"><img src="https://ci.appveyor.com/api/projects/status/hbpj944ankoy9sh5?svg=true" /></a>
     8     <a href="https://godoc.org/github.com/detailyang/fastrand-go">
     9        <img src="https://godoc.org/github.com/detailyang/fastrand-go?status.svg"/>
    10     </a>
    11     <br />
    12     <b>Package fastrand exports runtime.fastrand to public</b>
    13  </p>
    14  
    15  ````bash
    16  ╰─λ go test -benchmem -run="^\$" -bench Benchmark ./... -v                                                                          306ms
    17  goos: darwin
    18  goarch: amd64
    19  pkg: github.com/detailyang/fastrand-go
    20  BenchmarkFastRand-8   	493277304	         2.40 ns/op	       0 B/op	       0 allocs/op
    21  BenchmarkMathRand-8   	54207786	        19.2 ns/op	       0 B/op	       0 allocs/op
    22  PASS
    23  ok  	github.com/detailyang/fastrand-go	2.502s
    24  ````