Benchmark results

This commit is contained in:
benchmark
2024-08-02 10:04:10 +00:00
parent 7849f3b000
commit 7eb7d2bfee

View File

@@ -0,0 +1,28 @@
? smpptester [no test files]
? smpptester/benchmark [no test files]
? smpptester/client [no test files]
goos: linux
goarch: amd64
pkg: smpptester/encoding
cpu: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
BenchmarkGSM7EncodeSimpleASCIIString-6 17190692 63.88 ns/op
BenchmarkGSM7EncodeComplexASCIIString-6 3987712 302.8 ns/op
BenchmarkGSM7EncodeComplex8nASCIIString-6 2563090 523.2 ns/op
BenchmarkGSM7EncodeComplex8nASCIIStringPrealloc-6 2615463 462.5 ns/op
PASS
ok smpptester/encoding 6.235s
? smpptester/lua [no test files]
goos: linux
goarch: amd64
pkg: smpptester/pdu
cpu: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
BenchmarkBufferPoolManager-6 16913668 70.22 ns/op
BenchmarkBufferPoolManager_Concurrent-6 9289608 129.8 ns/op
BenchmarkBufferPoolManager_Memory-6 13000988 83.78 ns/op
BenchmarkEncodeWithBufferPool-6 7950153 137.7 ns/op
BenchmarkEncodeWithoutBufferPool-6 6290456 172.9 ns/op
BenchmarkDecodeBufferPool-6 7194349 162.7 ns/op
PASS
ok smpptester/pdu 7.717s
? smpptester/server [no test files]
? smpptester/utils [no test files]