Skip to content

Commit

Permalink
comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Dec 22, 2023
1 parent 7067b47 commit 1890c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { AbstractRelay } from './abstract-relay.ts'
import { Relay as PureRelay } from './relay.ts'
import { alwaysTrue } from './helpers.ts'

// benchmarking relay reads with verifyEvent
const EVENTS = 100

let messages: string[] = []
let baseContent = ''
for (let i = 0; i < EVENTS / 100; i++) {
Expand Down Expand Up @@ -57,4 +57,5 @@ group('relay read message and verify event (many events)', () => {
bench('trusted', runWith(trustedRelay))
})

// actually running the thing
await run()

0 comments on commit 1890c91

Please sign in to comment.