Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"fiskerinc.com/modules/grpc/sms"
|
||||
"github.com/fiskerinc/cloud-services/pkg/grpc/sms"
|
||||
)
|
||||
|
||||
// Want to make a client simulator that has a delay for each message, along with a chance of failure
|
||||
@@ -139,8 +139,8 @@ var _ TMobClienter = new(tmobileSimulator)
|
||||
// 10ms 6.25% 87.50% 10ms 6.25% runtime.read
|
||||
// 10ms 6.25% 93.75% 10ms 6.25% runtime.usleep
|
||||
// 10ms 6.25% 100% 10ms 6.25% runtime.write1
|
||||
// 0 0% 100% 20ms 12.50% fiskerinc.com/modules/tmobile.(*SMSClient).SendSMS
|
||||
// 0 0% 100% 10ms 6.25% fiskerinc.com/modules/tmobile.(*tmobileSimulator).SendSMS
|
||||
// 0 0% 100% 20ms 12.50% github.com/fiskerinc/cloud-services/pkg/tmobile.(*SMSClient).SendSMS
|
||||
// 0 0% 100% 10ms 6.25% github.com/fiskerinc/cloud-services/pkg/tmobile.(*tmobileSimulator).SendSMS
|
||||
// with default
|
||||
//BenchmarkSMSWrapper-16 1 5110808221 ns/op 2923960 B/op 43176 allocs/op no major difference
|
||||
// flat flat% sum% cum cum%
|
||||
@@ -150,7 +150,7 @@ var _ TMobClienter = new(tmobileSimulator)
|
||||
// 10ms 9.09% 81.82% 10ms 9.09% runtime.kevent
|
||||
// 10ms 9.09% 90.91% 10ms 9.09% runtime.stackpoolalloc
|
||||
// 10ms 9.09% 100% 10ms 9.09% runtime.usleep
|
||||
// 0 0% 100% 10ms 9.09% fiskerinc.com/modules/tmobile.BenchmarkSMSWrapper
|
||||
// 0 0% 100% 10ms 9.09% github.com/fiskerinc/cloud-services/pkg/tmobile.BenchmarkSMSWrapper
|
||||
// 0 0% 100% 10ms 9.09% runtime.copystack
|
||||
// 0 0% 100% 10ms 9.09% runtime.findObject
|
||||
// 0 0% 100% 60ms 54.55% runtime.findRunnable
|
||||
|
||||
Reference in New Issue
Block a user