Skip to content

Instantly share code, notes, and snippets.

View srperf's full-sized avatar

Señor Performo - Leandro Melendez srperf

View GitHub Profile
//Debugging
////////////////////////////////////////
// Example of what I am trying to do, for rendezvous
// without promises for Pepe to figure out
////////////////////////////////////////
import redis from 'k6/x/redis';
import http from 'k6/http';
import { sleep } from 'k6';
import kv from 'k6/x/kv';
import http from 'k6/http';
import { sleep } from 'k6';
export const options = {
stages: [
{ duration: '15s', target: 15 },
{ duration: '30s', target: 15 },
{ duration: '5s', target: 0 },
],
import http from 'k6/http';
import exec from 'k6/execution';
import { sleep } from 'k6';
export const options = {
stages: [
{ duration: '40s', target: 20 },
{ duration: '2m', target: 20 },
{ duration: '5s', target: 0 },
],