Closed kanekv closed 7 years ago
The performance profile could probably be improved. I'll hopefully take a look soon (though, scale that out with the fact that I'm replying to this ticket 5 months later)
we were able to achieve better performance bundling cgo calls
Hi @Kane-Sendgrid
Could you share your findings and benchmarks?
Is this is the branch with the fix?
Thanks!
oh there's a branch? if that's true can we make this a pull request and get it upstream?
@jtolds perhaps we could do so.
I'm trying to figure out how significant the improvement is because for me numbers were almost the same.
I've just checked this again using siege
tool and it looks like @Kane-Sendgrid's master
branch shows about the same performance as upstream.
Also, I was not able to get better performance with gotls
, in all my tests openssl bindings were giving 4x more rps that gotls
.
@Kane-Sendgrid could you share the details on your test setup?
Thanks
Closing due to inactivity.
I've tried running http servers: plain, openssl and gotls with this small program: https://play.golang.org/p/lY41nYV_uG.
Benchmarking it I've got following numbers: Plain HTTP: 72.5k rps gotls: 45k rps openssl: 24k
Is this expected or performance profile could be improved?