Luis

Results 12 comments of Luis

estou tentando desenvolver como um exercício pra um dev go iniciante. encontrei alguns recursos pra validar, mas acho que teve alguma atualização entre a data da postagem dos algoritmos e...

Is this suggestion being considered?

Up. Maybe we could register types with its comparison functions? Something like: ```go testify.RegisterComparison[T any](t T, fn func(a,b T) bool ) ``` and use it like: ```go testify.RegisterComparison[decimal.Decimal](t T, fn...

Just for reference, on a M1 Mac Pro I get around 280000 messages per second. @kharitonov1995 is this problem still happening?

I'm looking at the pprof trace of this example and one thing stands out to me: there are a lot of goroutines being created. not all at the same time,...

relevant code: https://github.com/asynkron/protoactor-go/blob/49001705a0fefbae5c4ffd0acb8ed39be3eb5292/actor/mailbox.go#L91-L92 https://github.com/asynkron/protoactor-go/blob/49001705a0fefbae5c4ffd0acb8ed39be3eb5292/actor/mailbox.go#L110-L111 https://github.com/asynkron/protoactor-go/blob/49001705a0fefbae5c4ffd0acb8ed39be3eb5292/actor/mailbox.go#L125-L126

does that make sense @rogeralsing ?

I ran the code @kharitonov1995 provided and used pprof to profile it. this benchmark kinda hides the "issue" i've described because there is almost always a message in the mailbox....

doing this makes the performance increase from ~280k to around 1 million for *this* particular test. Now, I know it is not a good idea to call `runtime.Gosched()` every other...

Is there somewhere I can take a look at the code? Maybe it would be possible to check the delay between communication and adjust the subtitles accordingly?