absmach / supermq

Event-driven Infrastructure for Modern Cloud
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.49k stars 676 forks source link

Magistrala Benchmarks #2042

Open dborovcanin opened 1 year ago

dborovcanin commented 1 year ago

Improve Mainflux benchmarks and load tests. We have a repo for load tests, but it is outdated. Some of the topics worth exploring:

dborovcanin commented 1 year ago

Worth investigation: https://github.com/ultravioletrs/issues/issues/291#issuecomment-1666640602

rodneyosodo commented 1 year ago

Add benchmark tests in Go

Which tool will we use to visualize and act on the results from the benchmark? For example I wrote benchmark tests for ws/dapater.go

When I used

go tool pprof -http=:8080 cpu.prof

I get this output

image

On top of my head is we need to used a better strings concatenation

rodneyosodo commented 1 year ago

References