Comments (6)
Related to my #1710 issue, I would recommend explicitly documenting the limitation of amending objects in the init scope in the setup VU. Thanks again for explaining.
from k6-docs.
Forgot about this issue so I opened #512... 🤦♂️
We don't explain in enough details what the k6 VUs actually are, and how the whole test execution is structured. https://k6.io/docs/using-k6/test-life-cycle/ explains some things, but probably not in enough detail for advanced users, so they can get a good mental model of why things are the way they are, and why certain restrictions need to be in place.
grafana/k6#2267 is an example of this problem, but we've had many other similar questions and issues before. Not to mention that such a page might also be helpful for potential k6 contributors, extension writers, as well as people wanting to squeeze the maximum performance out of k6 itself and understand pages like https://k6.io/docs/using-k6/javascript-compatibility-mode/
from k6-docs.
https://community.k6.io/t/execution-order-question/2793/3
We should add a section in the test life cycle documentation explaining the __VU == 0
case where we process the code multi times for executing the different blocks/steps (setup, teardown, options resolution, handle summary, etc..).
from k6-docs.
We have planned to move forward in this cycle of development: upcoming release 0.44.
from k6-docs.
We have published a first blog post in a series of what will probably be four articles on the topic: https://grafana.com/blog/2023/08/10/understanding-grafana-k6-a-simple-guide-to-the-load-testing-tool/
from k6-docs.
Also, I could not find an specific docs detailing the architecture of the k6 JS execution pipeline: JS
- goja
- go
.
Explaining this could be really beneficial, as they are often questions about it. Also, documentation pages like Compatibility Mode, Extensions, and Performance comparison will cross-link for further reference.
But I am unsure the JS execution architecture should be included in the VU architecture guide or a different one. If the latter, I'd open a separated issue.
from k6-docs.
Related Issues (20)
- HTTP metrics enhancements
- Publish a blog post about k6-browser internals
- gRPC connect params documentation misleading
- Update error message for patch script when running it outside of root folder HOT 1
- Document `net/grpc` uses the JSON encoding of protobuf HOT 1
- Install reliably fails on Ubuntu 22 VM HOT 2
- Write panel summaries for xk6-dashboard
- Specifying the k6 version when building an extension
- Update experimental WebSocket onping example HOT 1
- Add Extensions Bundle page to Grafana docs HOT 1
- Add the 'Add your own extension' button in Grafana k6 docs
- Adjust a documentation of the experimental module
- Investigate mdcode as a way to have testable code samples
- Update local development pre-requisites
- Update data usage collection
- k6-dashboard: add note that test needs to be >30s for graph to be displayed in export
- Update CONTRIBUTING guide with live-reload and backporting
- Import xk6 usage instructions from grafana/xk6 into docs
- Update "VUh" references to "VUH"
- Add clarification about possible values for duration/time fields
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k6-docs.