Skip to content
Snippets Groups Projects
Commit e98b7d54 authored by Hans Moog's avatar Hans Moog
Browse files

Feat: increased throughput to 40000 TPS

parent 9ef12673
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ func BenchmarkVerifySignature(b *testing.B) { ...@@ -22,6 +22,7 @@ func BenchmarkVerifySignature(b *testing.B) {
transactions := make([]*transaction.Transaction, b.N) transactions := make([]*transaction.Transaction, b.N)
for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ {
transactions[i] = transaction.New(transaction.EmptyId, transaction.EmptyId, identity.Generate(), data.New([]byte("test"))) transactions[i] = transaction.New(transaction.EmptyId, transaction.EmptyId, identity.Generate(), data.New([]byte("test")))
transactions[i].GetBytes()
} }
var wg sync.WaitGroup var wg sync.WaitGroup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment