-
Notifications
You must be signed in to change notification settings - Fork 185
feat: add JSON-RPC benchmarks with k6
#5438
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
Conversation
65c7e4c to
3564495
Compare
| @@ -0,0 +1,13 @@ | |||
| all-forest-cloud: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These commands could go into package.json. It's rare to use makefile in js world.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't say we are precisely in the JS world. k6 itself is a Go app that happens to use JS for its test scenarios.
|
|
||
| | Name | Description | Type | Default | | ||
| | --------------- | --------------------------- | ---- | ------------------------------ | | ||
| | `K6_TEST_URL` | Node RPC endpoint | URL | `http://localhost:2345/rpc/v1` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about prefixing environment variables with FOREST_RPC_
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A strong no. These benchmarks should be client-agnostic.
hanabi1224
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be great to use typescript. I can do that afterwards.
Co-authored-by: hanabi1224 <harlowmoo@gmail.com>
a7de567 to
256203f
Compare
Summary of changes
Changes introduced in this pull request:
k6Reference issue to close (if applicable)
Closes #5389
Other information and links
Change checklist