absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.44k stars 666 forks source link

Mainflux 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 11 months ago

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

rodneyosodo commented 11 months 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 10 months ago

References