It seems like the hard part is deciding when a change is suspicious enough to be investigated? Simple pass/fail tends not to work at scale because complicated systems tend to be noisy.
That's one of the main uses, yes. Although k6 gives you a lot of flexibility to decide what your pass/fail criteria are with its custom metrics ( https://k6.io/docs/using-k6/metrics#custom-metrics ), checks ( https://k6.io/docs/using-k6/checks ) and thresholds ( https://k6.io/docs/using-k6/thresholds ). See the example in https://github.com/loadimpact/k6/#checks-and-thresholds . If, at the end of the test run, some o…
K6: Like unit testing, for performance
81–86 of 86 posts
Re: K6: Like unit testing, for performance
#82Earlier quoted context omitted.
I was skimming your "extensive" article again, and I saw this little gem I'd forgotten about: https://github.com/ragnarlonn/curl-basher ^^
Oh yeah, that's my own load testing tool, written in the high-performance language Bash. It is a bit feature sparse but produces about the same RPS numbers as Drill ( https://github.com/fcsonline/drill ) and not too far behind Artillery. And it is about 0.0025 times as fast as Wrk!
Re: K6: Like unit testing, for performance
#83Re: K6: Like unit testing, for performance
#84I am one of the k6 developers. I've commented in a bunch of threads here, but if you have any questions, feel free to AMA :) I'll be around for the next ~1h and then probably later in the day as well.
Is there some way you can do whatever it is AWS CDK does under the hood to provide language bindings to other languages for writing tests? That'd be killer. I want to be able to write the tests in my backend language.
Re: K6: Like unit testing, for performance
#85Earlier quoted context omitted.
Oh yeah, that's my own load testing tool, written in the high-performance language Bash. It is a bit feature sparse but produces about the same RPS numbers as Drill ( https://github.com/fcsonline/drill ) and not too far behind Artillery. And it is about 0.0025 times as fast as Wrk!
Hm, rlonn as in "Algonet"?
Re: K6: Like unit testing, for performance
#86Earlier quoted context omitted.
Gatling is super slow. Suspicious slow in fact. You will likely not be able to really hit your endpoints hard enough by using one machine only. Personally I use autocannon which in my testing is faster than k6 and easier to use with a node.js environment. It is only a npm package, not a full software you need to install on your machine. Autocannon in my testing is 2 orders of magnitude faster than gatling, but you sh…
2 orders of magnitude faster than Gatling? Would be interesting to see how you ran your tests, and the results. In my testing, Gatling isn't catastrophically slow by any means. Wrk, which is faster than any other tool I've seen, is about one order of magnitude faster than Gatling, in terms of raw RPS generation. I find it very hard to believe a NodeJS-based tool executing JS would be faster than the fastest tool writ…