Coder Social home page Coder Social logo

bench-go-histograms's Introduction

Benchmark for Go histogram implementations

$ go test -test.bench=. -benchmem
goos: darwin
goarch: arm64
pkg: github.com/sean-/bench-go-histograms
Benchmark_CircLLHistDuration-10     	 7221150	       149.7 ns/op	       0 B/op	       0 allocs/op
Benchmark_CircLLHistApproxSum/ApproxSum-10         	1000000000	         0.0000002 ns/op	       0 B/op	       0 allocs/op
Benchmark_CircLLHistBinCount/BinCount-10           	1000000000	         0.0000001 ns/op	       0 B/op	       0 allocs/op
Benchmark_CircLLHistBuckets/Count-10               	1000000000	         0.0000000 ns/op	       0 B/op	       0 allocs/op
Benchmark_CircLLHistMerge/Merge-10                 	 8280682	       142.6 ns/op	       0 B/op	       0 allocs/op
Benchmark_CircLLHistQuantile/ValueAtQuantile-10    	1000000000	         0.0000005 ns/op	       0 B/op	       0 allocs/op
Benchmark_PromDuration-10                          	 2781200	       422.3 ns/op	       0 B/op	       0 allocs/op
Benchmark_PromApproxSum/SampleSum-10               	1000000000	         0.0000015 ns/op	       0 B/op	       0 allocs/op
Benchmark_PromApproxCount/SampleCount-10           	1000000000	         0.0000059 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	github.com/sean-/bench-go-histograms	4.399s

$ go version
go version go1.21.5 darwin/arm64

bench-go-histograms's People

Contributors

sean- avatar renovate[bot] avatar

Watchers

 avatar  avatar

bench-go-histograms's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

gomod
go.mod
  • go 1.22
  • github.com/jaswdr/faker/v2 v2.1.0
  • github.com/openhistogram/circonusllhist v0.4.0
  • github.com/prometheus/client_golang v1.17.0
  • github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16@9a2bf3000d16

  • Check this box to trigger a request for Renovate to run again on this repository

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.