SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Go Benchmark Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
go-benchmarks
Comprehensive and reproducible benchmarks for Go developers and architects. (by skerkour)
Hi, PocketBase author here.
Keep in mind that PocketBase do a lot more than just executing a raw DB query. We perform data validation, normalization, serialization, enriching, auto fail-retry to handle additional SQLITE_BUSY errors, etc. All of this comes with some cost and will always have an effect when doing microbenchmarks like this.
The performance would also depend on what version of PocketBase did you try, whether you used CGO or the pure Go driver, etc.
For a benchmark closer to a "real world" scenarios tested on various servers you can check the results from https://github.com/pocketbase/benchmarks.
There is definitely room for improvements (I haven't done any detailed profiling yet) but the current performance is "good enough" for the purposes the applications PocketBase is intended for (I've shared some numbers regarding a PocketBase app on production in https://github.com/pocketbase/pocketbase/discussions/4254).
Hope the above helps.
At the end of the day, what matters really for most people is
1) Certifications (FIPS...)
2) Speed.
SHA-256 is fast enough for maybe 99,9% of use cases as you will saturate your I/O way before SHA-256 becomes your bottleneck[0][1]. Also, from my experience with the different available implementations, SHA-256 is up to 1.8 times faster than Blake3 on arm64.
[0] https://github.com/skerkour/go-benchmarks/blob/main/results/...
[1] https://kerkour.com/fast-hashing-algorithms
Go Benchmarks related posts
- Question on Stream Processing patterns in Go
- Machine learning with GOlang
- Show HN: Benchmarking Machine Learning Inference in Go
- Benchmarking machine learning inference latency in Go and Python
- [P] Benchmarking machine learning inference latency from Go to Python
- Benchmarking machine learning inference in Go
- JS minification benchmarks: babel-minify, esbuild, terser, uglify-js
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source Benchmark projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | go-ml-benchmarks | 30 |
2 | benchmarks | 27 |
3 | fpmoney | 24 |
4 | compare-go-json | 18 |
5 | go-benchmarks | 9 |
6 | go-bench-stream | 2 |
Sponsored