BenchmarkCreateQueueCopy measures queue copy creation for split transactions
(b *testing.B)
| 361 | |
| 362 | // BenchmarkCreateQueueCopy measures queue copy creation for split transactions |
| 363 | func BenchmarkCreateQueueCopy(b *testing.B) { |
| 364 | txn := createTestTransaction("source-001", "dest-001", "ref-001", 100.00) |
| 365 | txn.TransactionID = "txn-original-001" |
| 366 | txn.CreatedAt = time.Now() |
| 367 | txn.PreciseAmount = big.NewInt(10000) |
| 368 | |
| 369 | b.ResetTimer() |
| 370 | for i := 0; i < b.N; i++ { |
| 371 | _ = createQueueCopy(txn, "ref-original") |
| 372 | } |
| 373 | } |
nothing calls this directly
no test coverage detected