Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create benchmarks for sending data #15

Closed
tegefaulkes opened this issue Apr 26, 2023 · 4 comments
Closed

Create benchmarks for sending data #15

tegefaulkes opened this issue Apr 26, 2023 · 4 comments
Assignees
Labels
development Standard development r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices

Comments

@tegefaulkes
Copy link
Contributor

Specification

We need to create benchmarks to profile the performance of the system. These benchmarks should cover data throughput over streams.

Additional context

Tasks

  1. Create benchmarks
@tegefaulkes
Copy link
Contributor Author

I was writing an example benchmark for sending data. I ran into a problem running it.

TypeError: Cannot read properties of undefined (reading 'isLocked')
    at QUICClient.connection (/home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/@matrixai/async-init/src/CreateDestroy.ts:151:28)
    at /home/faulkes/matixWorkspace/gitRepos/js-quic/benches/stream_1KB.ts:81:35
    at /home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/benny/lib/add.js:16:47
    at Generator.next (<anonymous>)
    at /home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/benny/lib/add.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/benny/lib/add.js:4:12)
    at prepareCaseFn (/home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/benny/lib/add.js:15:33)
    at /home/faulkes/matixWorkspace/gitRepos/js-quic/node_modules/benny/lib/add.js:59:38
    at Generator.next (<anonymous>)

We've seen this before with swc mangling the async-init life-cycle decorators.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented May 19, 2023 via email

@tegefaulkes
Copy link
Contributor Author

Yeah, I don't know much about the current set up, I'm not sure what's going on here.

@CMCDragonkai
Copy link
Member

The initial bench is done with the merge of #23.

@CMCDragonkai CMCDragonkai added the r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices
Development

No branches or pull requests

2 participants