All Projects → cornelk → Go Benchmark

cornelk / Go Benchmark

Licence: apache-2.0
Golang benchmarks used for optimizing code

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Go Benchmark

hyperspectral-soilmoisture-dataset
Hyperspectral and soil-moisture data from a field campaign based on a soil sample. Karlsruhe (Germany), 2017.
Stars: ✭ 23 (-91.25%)
Mutual labels:  benchmark
IGUANA
IGUANA is a benchmark execution framework for querying HTTP endpoints and CLI Applications such as Triple Stores. Contact: [email protected]
Stars: ✭ 22 (-91.63%)
Mutual labels:  benchmark
Knowledge distillation via TF2.0
The codes for recent knowledge distillation algorithms and benchmark results via TF2.0 low-level API
Stars: ✭ 87 (-66.92%)
Mutual labels:  benchmark
MVP Benchmark
MVP Benchmark for Multi-View Partial Point Cloud Completion and Registration
Stars: ✭ 74 (-71.86%)
Mutual labels:  benchmark
json-serialization-benchmarking
Miscellaneous benchmarks for JSON serialization on JVM/Android
Stars: ✭ 48 (-81.75%)
Mutual labels:  benchmark
MaskedFaceRepresentation
Masked face recognition focuses on identifying people using their facial features while they are wearing masks. We introduce benchmarks on face verification based on masked face images for the development of COVID-safe protocols in airports.
Stars: ✭ 17 (-93.54%)
Mutual labels:  benchmark
react-native-css-in-js-benchmarks
CSS in JS Benchmarks for React Native
Stars: ✭ 46 (-82.51%)
Mutual labels:  benchmark
grpc bench
Various gRPC benchmarks
Stars: ✭ 480 (+82.51%)
Mutual labels:  benchmark
liar
Flexible, stand-alone benchmarking
Stars: ✭ 16 (-93.92%)
Mutual labels:  benchmark
tls-perf
TLS handshakes benchnarking tool
Stars: ✭ 18 (-93.16%)
Mutual labels:  benchmark
BIRL
BIRL: Benchmark on Image Registration methods with Landmark validations
Stars: ✭ 66 (-74.9%)
Mutual labels:  benchmark
iohk-monitoring-framework
This framework provides logging, benchmarking and monitoring.
Stars: ✭ 27 (-89.73%)
Mutual labels:  benchmark
criterion-compare-action
⚡️📊 Compare the performance of Rust project branches
Stars: ✭ 16 (-93.92%)
Mutual labels:  benchmark
Meta-SelfLearning
Meta Self-learning for Multi-Source Domain Adaptation: A Benchmark
Stars: ✭ 157 (-40.3%)
Mutual labels:  benchmark
Long-Map-Benchmarks
Benchmarking the best way to store long, Object value pairs in a map.
Stars: ✭ 32 (-87.83%)
Mutual labels:  benchmark
mini-nbody
A simple gravitational N-body simulation in less than 100 lines of C code, with CUDA optimizations.
Stars: ✭ 73 (-72.24%)
Mutual labels:  benchmark
glassbench
A micro-benchmark framework to use with cargo bench
Stars: ✭ 29 (-88.97%)
Mutual labels:  benchmark
Perfops Cli
A simple command line tool to interact with hundreds of servers around the world.
Stars: ✭ 263 (+0%)
Mutual labels:  benchmark
PPM
A High-Quality Photograpy Portrait Matting Benchmark
Stars: ✭ 37 (-85.93%)
Mutual labels:  benchmark
FewCLUE
FewCLUE 小样本学习测评基准,中文版
Stars: ✭ 251 (-4.56%)
Mutual labels:  benchmark

go-benchmark

Golang benchmarks used for optimizing code. The benchmarks were run with Golang 1.13.4 and 64 bit on Linux.

interface{} vs unsafe.Pointer

BenchmarkValueUnsafePointer-8           	23087859	        49.8 ns/op
BenchmarkValueInterface-8               	18875863	        61.7 ns/op

Using defer vs not using it

BenchmarkDefer-8                        	  480712	      2481 ns/op
BenchmarkDeferNo-8                      	12442630	        91 ns/op

Iterating a slice

BenchmarkSliceReadRange-8               	15874279	        73.1 ns/op
BenchmarkSliceReadForward-8             	12227348	        94.7 ns/op
BenchmarkSliceReadBackwards-8           	12207439	        94.4 ns/op
BenchmarkSliceReadLastItemFirst-8       	16149327	        71.8 ns/op

Passing a parameter by value vs pointer

BenchmarkParameterPassedByPointer-8     	10073216	       121 ns/op
BenchmarkParameterPassedByValue-8       	 6407587	       193 ns/op

Using reflect vs cast

BenchmarkReflect-8                      	 3802472	       275 ns/op
BenchmarkCast-8                         	12159952	        97 ns/op

Hashing algorithms that produce a 64 bit hash of an 8 byte input

BenchmarkHashing64MD5-8                 	 4124116	       254 ns/op	  31.46 MB/s
BenchmarkHashing64SHA1-8                	 3581850	       286 ns/op	  27.95 MB/s
BenchmarkHashing64SHA256-8              	 2776195	       381 ns/op	  20.97 MB/s
BenchmarkHashing64SHA3B224-8            	  828200	      1226 ns/op	   6.53 MB/s
BenchmarkHashing64SHA3B256-8            	 1079488	      1128 ns/op	   7.09 MB/s
BenchmarkHashing64RIPEMD160-8           	 1437418	       790 ns/op	  10.12 MB/s
BenchmarkHashing64Blake2B-8             	 2043148	       524 ns/op	  15.27 MB/s
BenchmarkHashing64Blake2BSimd-8         	 2176908	       498 ns/op	  16.07 MB/s
BenchmarkHashing64Murmur3-8             	11669984	        98.4 ns/op	  81.31 MB/s
BenchmarkHashing64Murmur3Twmb-8         	12181790	        94.7 ns/op	  84.46 MB/s
BenchmarkHashing64SipHash-8             	14001228	        83.6 ns/op	  95.70 MB/s
BenchmarkHashing64XXHash-8              	17448787	        59.5 ns/op	 134.56 MB/s
BenchmarkHashing64XXHashpier-8          	18139736	        72.4 ns/op	 110.45 MB/s
BenchmarkHashing64HighwayHash-8         	 7085976	       145 ns/op	  55.03 MB/s

Filling a slice by index or append

BenchmarkSliceFillByIndex-8             	23782480	        48.1 ns/op
BenchmarkSliceFillByIndexMake-8         	46888129	        24.4 ns/op
BenchmarkSliceFillMakeAppend-8          	27952350	        40.5 ns/op
BenchmarkSliceFillAppendNoMake-8        	 1000000	      1112 ns/op
BenchmarkSliceFillSmallMakeAppend-8     	 1407986	       778 ns/op

Writing and reading an int atomic

BenchmarkAtomicInt32-8                  	  266521	      4513 ns/op
BenchmarkAtomicInt64-8                  	  258920	      4510 ns/op
BenchmarkAtomicUintptr-8                	  257742	      4520 ns/op
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].