Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrd0ll4r/go-microbench
Microbenchmarks for the go programming language
https://github.com/mrd0ll4r/go-microbench
Last synced: 21 days ago
JSON representation
Microbenchmarks for the go programming language
- Host: GitHub
- URL: https://github.com/mrd0ll4r/go-microbench
- Owner: mrd0ll4r
- License: mit
- Created: 2016-01-04T14:35:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-04T15:35:35.000Z (almost 9 years ago)
- Last Synced: 2024-10-16T06:35:13.234Z (2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-microbench
Microbenchmarks for the go programming language## Benchmarks
Benchmarks are found in their respective `_test` file, e.g. `select` benchmarks are in `select_test.go`### `main` benchmarks
Benchmarks for reference, or stuff that didn't fit somewhere else:- `BenchmarkEmpty`: Benchmarks the empty for loop used in all other benchmarks
### `select` benchmarks
Benchmarks for the `select` statement:- `BenchmarkSelectDefaultAfterRead[One-Nine]`: Selects the default case after trying to read from `[One-Nine]` unbuffered channels
- `BenchmarkSelectDefaultBeforeRead[One-Three]`: Selects the default case after trying to read from `[One-Three]` unbuffered channels, but the default case is put before the other cases in the source
- `BenchmarkSelectDefaultAfterRead[One-Three]Buffered`: Selects the default case after trying to read from `[One-Three]` buffered (1) channels
- `BenchmarkSelectDefaultAfterWrite[One-Three]`: Selects the default case after trying to write to `[One-Three]` unbuffered channels
- `BenchmarkSelectDefaultBeforeWrite[One-Three]`: Selects the default case after trying to write to `[One-Three]` unbuffered channels, but the default case is put before the other cases in the source
- `BenchmarkSelectDefaultAfterWrite[One-Three]Buffered`: Selects the default case after trying to write to `[One-Three]` buffered (1) channels## Results
For results, see `RESULTS.md`.The results may change significantly (e.g. when I run them on a PC vs. when I run them on a laptop), but the interesting relations between results should remain the same.